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
@oliviertassinari I must admit even I'm confused here given the multitude of options we have (FormControlLabel vs FormLabel). The demo you point to in #11038 (comment) doesn't exist anymore, and we don't show required fields in either Radio, Checkbox, or Switch docs.
Just wanted to add in to the confusion. There is an example in your documentation, but it doesn't work if you nest a JSX element within the label prop.
Duplicates
Latest version
Current behavior 😯
Implementing a labeled checkbox with a "required" asterisk, such as the following, is currently not possible without workarounds:
This would normally be coded like this:
but
FormControlLabel
doesn't support therequired
prop.Expected behavior 🤔
FormControlLabel
supports therequired
prop.Steps to reproduce 🕹
No response
Context 🔦
Related issues:
required
prop to FormControlLabel #11038We would be willing to contribute this feature, if this gets the green light.
Your environment 🌎
No response
The text was updated successfully, but these errors were encountered: