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: docs/pages/api-docs/text-field.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,8 +81,8 @@ The `MuiTextField` name can be used for providing [default props](/customization
81
81
| <spanclass="prop-name">onChange</span> | <spanclass="prop-type">func</span> || Callback fired when the value is changed.<br><br>**Signature:**<br>`function(event: object) => void`<br>*event:* The event source of the callback. You can pull out the new value by accessing `event.target.value` (string). |
82
82
| <spanclass="prop-name">placeholder</span> | <spanclass="prop-type">string</span> || The short hint displayed in the input before the user enters a value. |
83
83
| <spanclass="prop-name">required</span> | <spanclass="prop-type">bool</span> | <spanclass="prop-default">false</span> | If `true`, the label is displayed as required and the `input` element` will be required. |
84
-
| <spanclass="prop-name">rows</span> | <spanclass="prop-type">number<br>| string</span> || Number of rows to display when multiline option is set to true. |
85
-
| <spanclass="prop-name">rowsMax</span> | <spanclass="prop-type">number<br>| string</span> || Maximum number of rows to display. |
84
+
|~~<spanclass="prop-name">rows</span>~~| <spanclass="prop-type">number<br>| string</span> ||*Deprecated*. Use `minRows` instead<br><br>Number of rows to display when multiline option is set to true. |
85
+
|~~<spanclass="prop-name">rowsMax</span>~~| <spanclass="prop-type">number<br>| string</span> ||*Deprecated*. Use `maxRows` instead<br><br>Maximum number of rows to display. |
86
86
| <spanclass="prop-name">select</span> | <spanclass="prop-type">bool</span> | <spanclass="prop-default">false</span> | Render a [`Select`](/api/select/) element while passing the Input element to `Select` as `input` parameter. If this option is set you must pass the options of the select as children. |
87
87
| <spanclass="prop-name">SelectProps</span> | <spanclass="prop-type">object</span> || Props applied to the [`Select`](/api/select/) element. |
88
88
| <spanclass="prop-name">size</span> | <spanclass="prop-type">'medium'<br>| 'small'</span> || The size of the text field. |
0 commit comments