-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FormControlLabel] required #12180
Comments
Your issue has been closed because it does not conform to our issue requirements. |
There is actually nothing to reproduce, it's down to component specs:
I believe that error & required props should be available to [FormControlLabel] as well because they are functionally similar. |
Please use the appropriate issue template for future issues, otherwise it is difficult to help. Your one-liner issue ooked like an incomplete bug report rather than an incomplete feature request. FormControlLabel is for selection controls. A switch, radio and checkbox can't ordinarily be in an error state or required state – its value is valid regardless. |
Ok, sorry for not using proper template. I don't think that you're right about error state. Even MDN mentions required attribute for checkbox and Chrome displays validation bubble when required attribute is present and checkbox is not checked. |
Should this issue be renewed in 2020? I would also like to have an asterisk next to a checkbox label. |
"Accept Ts&Cs" could be a valid use case. Please check that there isn't one already, and open a new feature request issue using the appropriate template. |
FormControlLabel component is not displaying correctly that labeled selection control is required with asterisk, as normal FormLabel component.
(Material UI 1.4.0)
The text was updated successfully, but these errors were encountered: