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/filled-input.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
@@ -43,14 +43,14 @@ The `MuiFilledInput` name can be used for providing [default props](/customizati
43
43
| <spanclass="prop-name">inputProps</span> | <spanclass="prop-type">object</span> ||[Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element. |
44
44
| <spanclass="prop-name">inputRef</span> | <spanclass="prop-type">ref</span> || Pass a ref to the `input` element. |
45
45
| <spanclass="prop-name">margin</span> | <spanclass="prop-type">'dense'<br>| 'none'</span> || If `dense`, will adjust vertical spacing. This is normally obtained via context from FormControl. |
46
+
| <spanclass="prop-name">maxRows</span> | <spanclass="prop-type">number<br>| string</span> || Maximum number of rows to display when multiline option is set to true. |
46
47
| <spanclass="prop-name">multiline</span> | <spanclass="prop-type">bool</span> | <spanclass="prop-default">false</span> | If `true`, a textarea element will be rendered. |
47
48
| <spanclass="prop-name">name</span> | <spanclass="prop-type">string</span> || Name attribute of the `input` element. |
48
49
| <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). |
49
50
| <spanclass="prop-name">placeholder</span> | <spanclass="prop-type">string</span> || The short hint displayed in the input before the user enters a value. |
50
51
| <spanclass="prop-name">readOnly</span> | <spanclass="prop-type">bool</span> || It prevents the user from changing the value of the field (not from interacting with the field). |
51
52
| <spanclass="prop-name">required</span> | <spanclass="prop-type">bool</span> || If `true`, the `input` element will be required. |
52
53
| <spanclass="prop-name">rows</span> | <spanclass="prop-type">number<br>| string</span> || Number of rows to display when multiline option is set to true. |
53
-
| <spanclass="prop-name">rowsMax</span> | <spanclass="prop-type">number<br>| string</span> || Maximum number of rows to display when multiline option is set to true. |
54
54
| <spanclass="prop-name">startAdornment</span> | <spanclass="prop-type">node</span> || Start `InputAdornment` for this component. |
55
55
| <spanclass="prop-name">type</span> | <spanclass="prop-type">string</span> | <spanclass="prop-default">'text'</span> | Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types). |
56
56
| <spanclass="prop-name">value</span> | <spanclass="prop-type">any</span> || The value of the `input` element, required for a controlled component. |
Copy file name to clipboardExpand all lines: docs/pages/api-docs/input-base.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
@@ -44,6 +44,8 @@ The `MuiInputBase` name can be used for providing [default props](/customization
44
44
| <spanclass="prop-name">inputProps</span> | <spanclass="prop-type">object</span> | <spanclass="prop-default">{}</span> |[Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element. |
45
45
| <spanclass="prop-name">inputRef</span> | <spanclass="prop-type">ref</span> || Pass a ref to the `input` element. |
46
46
| <spanclass="prop-name">margin</span> | <spanclass="prop-type">'dense'<br>| 'none'</span> || If `dense`, will adjust vertical spacing. This is normally obtained via context from FormControl. |
47
+
| <spanclass="prop-name">maxRows</span> | <spanclass="prop-type">number<br>| string</span> || Maximum number of rows to display when multiline option is set to true. |
48
+
| <spanclass="prop-name">minRows</span> | <spanclass="prop-type">number<br>| string</span> || Minimum number of rows to display when multiline option is set to true. |
47
49
| <spanclass="prop-name">multiline</span> | <spanclass="prop-type">bool</span> | <spanclass="prop-default">false</span> | If `true`, a textarea element will be rendered. |
48
50
| <spanclass="prop-name">name</span> | <spanclass="prop-type">string</span> || Name attribute of the `input` element. |
49
51
| <spanclass="prop-name">onBlur</span> | <spanclass="prop-type">func</span> || Callback fired when the input is blurred.<br>Notice that the first argument (event) might be undefined. |
@@ -52,8 +54,6 @@ The `MuiInputBase` name can be used for providing [default props](/customization
52
54
| <spanclass="prop-name">readOnly</span> | <spanclass="prop-type">bool</span> || It prevents the user from changing the value of the field (not from interacting with the field). |
53
55
| <spanclass="prop-name">required</span> | <spanclass="prop-type">bool</span> || If `true`, the `input` element will be required. |
54
56
| <spanclass="prop-name">rows</span> | <spanclass="prop-type">number<br>| string</span> || Number of rows to display when multiline option is set to true. |
55
-
| <spanclass="prop-name">rowsMax</span> | <spanclass="prop-type">number<br>| string</span> || Maximum number of rows to display when multiline option is set to true. |
56
-
| <spanclass="prop-name">rowsMin</span> | <spanclass="prop-type">number<br>| string</span> || Minimum number of rows to display when multiline option is set to true. |
57
57
| <spanclass="prop-name">startAdornment</span> | <spanclass="prop-type">node</span> || Start `InputAdornment` for this component. |
58
58
| <spanclass="prop-name">type</span> | <spanclass="prop-type">string</span> | <spanclass="prop-default">'text'</span> | Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types). |
59
59
| <spanclass="prop-name">value</span> | <spanclass="prop-type">any</span> || The value of the `input` element, required for a controlled component. |
Copy file name to clipboardExpand all lines: docs/pages/api-docs/input.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
@@ -43,14 +43,14 @@ The `MuiInput` name can be used for providing [default props](/customization/glo
43
43
| <spanclass="prop-name">inputProps</span> | <spanclass="prop-type">object</span> ||[Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element. |
44
44
| <spanclass="prop-name">inputRef</span> | <spanclass="prop-type">ref</span> || Pass a ref to the `input` element. |
45
45
| <spanclass="prop-name">margin</span> | <spanclass="prop-type">'dense'<br>| 'none'</span> || If `dense`, will adjust vertical spacing. This is normally obtained via context from FormControl. |
46
+
| <spanclass="prop-name">maxRows</span> | <spanclass="prop-type">number<br>| string</span> || Maximum number of rows to display when multiline option is set to true. |
46
47
| <spanclass="prop-name">multiline</span> | <spanclass="prop-type">bool</span> | <spanclass="prop-default">false</span> | If `true`, a textarea element will be rendered. |
47
48
| <spanclass="prop-name">name</span> | <spanclass="prop-type">string</span> || Name attribute of the `input` element. |
48
49
| <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). |
49
50
| <spanclass="prop-name">placeholder</span> | <spanclass="prop-type">string</span> || The short hint displayed in the input before the user enters a value. |
50
51
| <spanclass="prop-name">readOnly</span> | <spanclass="prop-type">bool</span> || It prevents the user from changing the value of the field (not from interacting with the field). |
51
52
| <spanclass="prop-name">required</span> | <spanclass="prop-type">bool</span> || If `true`, the `input` element will be required. |
52
53
| <spanclass="prop-name">rows</span> | <spanclass="prop-type">number<br>| string</span> || Number of rows to display when multiline option is set to true. |
53
-
| <spanclass="prop-name">rowsMax</span> | <spanclass="prop-type">number<br>| string</span> || Maximum number of rows to display when multiline option is set to true. |
54
54
| <spanclass="prop-name">startAdornment</span> | <spanclass="prop-type">node</span> || Start `InputAdornment` for this component. |
55
55
| <spanclass="prop-name">type</span> | <spanclass="prop-type">string</span> | <spanclass="prop-default">'text'</span> | Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types). |
56
56
| <spanclass="prop-name">value</span> | <spanclass="prop-type">any</span> || The value of the `input` element, required for a controlled component. |
Copy file name to clipboardExpand all lines: docs/pages/api-docs/outlined-input.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
@@ -44,6 +44,7 @@ The `MuiOutlinedInput` name can be used for providing [default props](/customiza
44
44
| <spanclass="prop-name">label</span> | <spanclass="prop-type">node</span> || The label of the input. It is only used for layout. The actual labelling is handled by `InputLabel`. If specified `labelWidth` is ignored. |
45
45
| <spanclass="prop-name">labelWidth</span> | <spanclass="prop-type">number</span> | <spanclass="prop-default">0</span> | The width of the label. Is ignored if `label` is provided. Prefer `label` if the input label appears with a strike through. |
46
46
| <spanclass="prop-name">margin</span> | <spanclass="prop-type">'dense'<br>| 'none'</span> || If `dense`, will adjust vertical spacing. This is normally obtained via context from FormControl. |
47
+
| <spanclass="prop-name">maxRows</span> | <spanclass="prop-type">number<br>| string</span> || Maximum number of rows to display when multiline option is set to true. |
47
48
| <spanclass="prop-name">multiline</span> | <spanclass="prop-type">bool</span> | <spanclass="prop-default">false</span> | If `true`, a textarea element will be rendered. |
48
49
| <spanclass="prop-name">name</span> | <spanclass="prop-type">string</span> || Name attribute of the `input` element. |
49
50
| <spanclass="prop-name">notched</span> | <spanclass="prop-type">bool</span> || If `true`, the outline is notched to accommodate the label. |
@@ -52,7 +53,6 @@ The `MuiOutlinedInput` name can be used for providing [default props](/customiza
52
53
| <spanclass="prop-name">readOnly</span> | <spanclass="prop-type">bool</span> || It prevents the user from changing the value of the field (not from interacting with the field). |
53
54
| <spanclass="prop-name">required</span> | <spanclass="prop-type">bool</span> || If `true`, the `input` element will be required. |
54
55
| <spanclass="prop-name">rows</span> | <spanclass="prop-type">number<br>| string</span> || Number of rows to display when multiline option is set to true. |
55
-
| <spanclass="prop-name">rowsMax</span> | <spanclass="prop-type">number<br>| string</span> || Maximum number of rows to display when multiline option is set to true. |
56
56
| <spanclass="prop-name">startAdornment</span> | <spanclass="prop-type">node</span> || Start `InputAdornment` for this component. |
57
57
| <spanclass="prop-name">type</span> | <spanclass="prop-type">string</span> | <spanclass="prop-default">'text'</span> | Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types). |
58
58
| <spanclass="prop-name">value</span> | <spanclass="prop-type">any</span> || The value of the `input` element, required for a controlled component. |
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
@@ -74,14 +74,14 @@ The `MuiTextField` name can be used for providing [default props](/customization
74
74
| <spanclass="prop-name">inputRef</span> | <spanclass="prop-type">ref</span> || Pass a ref to the `input` element. |
75
75
| <spanclass="prop-name">label</span> | <spanclass="prop-type">node</span> || The label content. |
76
76
| <spanclass="prop-name">margin</span> | <spanclass="prop-type">'dense'<br>| 'none'<br>| 'normal'</span> || If `dense` or `normal`, will adjust vertical spacing of this and contained components. |
77
+
| <spanclass="prop-name">maxRows</span> | <spanclass="prop-type">number<br>| string</span> || Maximum number of rows to display when multiline option is set to true. |
77
78
| <spanclass="prop-name">multiline</span> | <spanclass="prop-type">bool</span> | <spanclass="prop-default">false</span> | If `true`, a textarea element will be rendered instead of an input. |
78
79
| <spanclass="prop-name">name</span> | <spanclass="prop-type">string</span> || Name attribute of the `input` element. |
79
80
| <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). |
80
81
| <spanclass="prop-name">placeholder</span> | <spanclass="prop-type">string</span> || The short hint displayed in the input before the user enters a value. |
81
82
| <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. |
82
83
| <spanclass="prop-name">rows</span> | <spanclass="prop-type">number<br>| string</span> || Number of rows to display when multiline option is set to true. |
83
-
| <spanclass="prop-name">rowsMax</span> | <spanclass="prop-type">number<br>| string</span> || Maximum number of rows to display when multiline option is set to true. |
84
-
| <spanclass="prop-name">rowsMin</span> | <spanclass="prop-type">number<br>| string</span> || Minimum number of rows to display when multiline option is set to true. |
84
+
| <spanclass="prop-name">minRows</span> | <spanclass="prop-type">number<br>| string</span> || Minimum number of rows to display when multiline option is set to true. |
85
85
| <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. |
86
86
| <spanclass="prop-name">SelectProps</span> | <spanclass="prop-type">object</span> || Props applied to the [`Select`](/api/select/) element. |
87
87
| <spanclass="prop-name">size</span> | <spanclass="prop-type">'medium'<br>| 'small'</span> || The size of the text field. |
Copy file name to clipboardExpand all lines: docs/pages/api-docs/textarea-autosize.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
@@ -26,8 +26,8 @@ You can learn more about the difference by [reading this guide](/guides/minimizi
26
26
27
27
| Name | Type | Default | Description |
28
28
|:-----|:-----|:--------|:------------|
29
-
| <spanclass="prop-name">rowsMax</span> | <spanclass="prop-type">number<br>| string</span> || Maximum number of rows to display. |
30
-
| <spanclass="prop-name">rowsMin</span> | <spanclass="prop-type">number<br>| string</span> | <spanclass="prop-default">1</span> | Minimum number of rows to display. |
29
+
| <spanclass="prop-name">maxRows</span> | <spanclass="prop-type">number<br>| string</span> || Maximum number of rows to display. |
30
+
| <spanclass="prop-name">minRows</span> | <spanclass="prop-type">number<br>| string</span> | <spanclass="prop-default">1</span> | Minimum number of rows to display. |
0 commit comments