You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/api/select.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ import Select from '@material-ui/core/Select';
26
26
| <spanclass="prop-name">input</span> | <spanclass="prop-type">element</span> | <spanclass="prop-default"><Input /></span> | An `Input` element; does not have to be a material-ui specific `Input`. |
27
27
| <spanclass="prop-name">inputProps</span> | <spanclass="prop-type">object</span> || Attributes applied to the `input` element. When `native` is `true`, the attributes are applied on the `select` element. |
28
28
| <spanclass="prop-name">MenuProps</span> | <spanclass="prop-type">object</span> || Properties applied to the [`Menu`](/api/menu/) element. |
29
-
| <spanclass="prop-name">multiple</span> | <spanclass="prop-type">bool</span> | <spanclass="prop-default">false</span> | If true, `value` must be an array and the menu will support multiple selections. You can only use it when the `native` property is `false` (default). |
29
+
| <spanclass="prop-name">multiple</span> | <spanclass="prop-type">bool</span> | <spanclass="prop-default">false</span> | If true, `value` must be an array and the menu will support multiple selections. |
30
30
| <spanclass="prop-name">native</span> | <spanclass="prop-type">bool</span> | <spanclass="prop-default">false</span> | If `true`, the component will be using a native `select` element. |
31
31
| <spanclass="prop-name">onChange</span> | <spanclass="prop-type">func</span> || Callback function fired when a menu item is selected.<br><br>**Signature:**<br>`function(event: object, child?: object) => void`<br>*event:* The event source of the callback. You can pull out the new value by accessing `event.target.value`.<br>*child:* The react element that was selected when `native` is `false` (default). |
32
32
| <spanclass="prop-name">onClose</span> | <spanclass="prop-type">func</span> || Callback fired when the component requests to be closed. Use in controlled mode (see open).<br><br>**Signature:**<br>`function(event: object) => void`<br>*event:* The event source of the callback |
0 commit comments