dohomi / react-hook-form-mui

Material-UI form components ready to use with react-hook-form
https://react-hook-form-material-ui.vercel.app
MIT License
562 stars 111 forks source link

fix: TextareaAutosizeElement bug while resize the area and cannot set min/max rows #307

Closed panudetjt closed 2 months ago

panudetjt commented 2 months ago

While trying to resize the area, it was buggy as shown in the video:

[URL]

To address this, I added the min/max rows props to pass to inputProps in slotProps. And make resizeStyle default value as none

I'm not sure what the rows prop stands for, so I left it as is.

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-hook-form-material-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 11, 2024 5:13am