[joy-ui][Input] Should Input have a label prop? #39001
Labels
component: text field
This is the name of the generic UI component, not the React module!
discussion
package: joy-ui
Specific to @mui/joy
Duplicates
Latest version
Summary 💡
In my opinion, adding three extra lines of code and importing 2 more components seems like too much complexity for such a commonly-used and trivial use case:
Wouldn't it be better to abstract this all away with a
label
and 'helperText' prop. like so:I know the regular Mui library has this on TextField, so why not the JoyUI Input?
Examples 🌈
No response
Motivation 🔦
The text was updated successfully, but these errors were encountered: