-
-
Notifications
You must be signed in to change notification settings - Fork 5.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
ImageInput and FileInput required() is not working #8126
Comments
Thanks for the report! Marking this as a bug. |
Duplicate of #6441 |
I'm not sure if it's a duplicate because I didn't use the |
I understand but the proposed outcome is the same as that issue and several other related ones. Fixing one will also address the others. We are asking the maintainers to validate the various properties available to |
What you were expecting:
When ImageInput has
validate={[required()]}
it should show the message in redWhen FileInput has
validate={[required()]}
it should show the messageWhat happened instead:
ImageInput shows the message in gray (similar as helperText)
FileInput doesn't show the message
Steps to reproduce:
Related code:
Add validate={[required()]} to the FileInput tag
Add
Other information:

Environment
The text was updated successfully, but these errors were encountered: