[InputUnstyled] not forwarding textarea specific props (rows, maxRows, minRows) #33060
Closed
2 tasks done
Labels
bug 馃悰
Something doesn't work
component: text field
This is the name of the generic UI component, not the React module!
package: base-ui
Specific to @mui/base
Projects
Duplicates
Latest version
Current behavior 馃槸
rows
,minRows
,maxRows
props have no effect when themultiline
flag is set for an<InputUnstyled />
component.Expected behavior 馃
The
rows
,minRows
,maxRows
props have the same effect just as they have in the case of a<TextField />
when themultiline
flag is set.Steps to reproduce 馃暪
Steps:
<InputUnstyled />
componentmultiline
flagrows
/minRows
/maxRows
to any preferred value other than "2" since it's the fallback valueContext 馃敠
I was adding a multiline text input to one of the modals I'm working on and found out I cannot control the number of lines.
Your environment 馃寧
codesandbox link
The text was updated successfully, but these errors were encountered: