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
Continuation to the recent, unanswered discussion: #10984
When adding the validation required to a Checkboxes field, the form cannot be submitted unless all the options are ticked. I cannot find a way to validate a checkboxes field so that the submission is accepted so long as I check at least 1 entry but not all of them.
The important thing pointed out by @stephenmeehanuk is that the behavior disappears when the hidden field is removed.
The reason I classify this issue as bug is because the behavior was apparently introduced by: #7180. It must have worked before.
How to reproduce
Create a form with checkboxes containing more than 1 option.
Bug description
Continuation to the recent, unanswered discussion: #10984
When adding the validation
required
to aCheckboxes
field, the form cannot be submitted unless all the options are ticked. I cannot find a way to validate a checkboxes field so that the submission is accepted so long as I check at least 1 entry but not all of them.The important thing pointed out by @stephenmeehanuk is that the behavior disappears when the hidden field is removed.
The reason I classify this issue as bug is because the behavior was apparently introduced by: #7180. It must have worked before.
How to reproduce
Create a form with checkboxes containing more than 1 option.
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
The text was updated successfully, but these errors were encountered: