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
Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.
I'm submitting a ...
bug report
feature request
support request => Please do not submit support request here, see note at the top of this template.
Do you want to request a feature or report a bug?
Bug report
What is the current behavior?
When I make radio buttons required in the form schema and validate the field then the validation succeeds even if none of the radio options have been selected. On the other hand if I add any validator then the required check is triggered.
Take a look at https://jsfiddle.net/r2ysqn64/2/
1 Click on the "Validate" button
2 The first radio does not show a required error
3. The second radio (which has a required validation) shows a required error message
4. The third radio (which has a string validation) shows a required error message
What is the expected behavior?
I would expect the required to not to need an additional validator.
The text was updated successfully, but these errors were encountered:
carnun
changed the title
Radio field (and maybe others) need a validator as part of the schema before the "required" validation is checked
Fields needs at least one validator as part of the schema before the "required is checked
Jun 19, 2020
carnun
changed the title
Fields needs at least one validator as part of the schema before the "required is checked
Fields needs at least one validator as part of the schema before the "required" is checked
Jun 19, 2020
Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.
Bug report
When I make radio buttons required in the form schema and validate the field then the validation succeeds even if none of the radio options have been selected. On the other hand if I add any validator then the required check is triggered.
Take a look at https://jsfiddle.net/r2ysqn64/2/
1 Click on the "Validate" button
2 The first radio does not show a required error
3. The second radio (which has a required validation) shows a required error message
4. The third radio (which has a string validation) shows a required error message
I would expect the required to not to need an additional validator.
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: