Selectboxes that have Required set to False and also have a Minimum selected checkboxes configured to 1 or above still trigger backend validation for minSelectedCount when no options are selected.
Stappen om te reproduceren / Steps to reproduce
Create a Form with a step that has a Selectboxes field
Leave Required as False and configure a Minimum selected checkboxes of 1 or above
Click Toon formulier, go to the step, leave the selectboxes empty and click next
Observe the error stating that you need to check a minimum number of boxes
Verwacht gedrag / Expected behavior
Since the selectboxes are not required, leaving it empty should be possible
Product versie / Product version
2.7.6 / latest
Customer reference
No response
Omschrijf het probleem / Describe the bug
I ran into this while looking into https://github.com/open-formulieren/open-forms/issues/4602
Selectboxes that have
Required
set toFalse
and also have aMinimum selected checkboxes
configured to 1 or above still trigger backend validation forminSelectedCount
when no options are selected.Stappen om te reproduceren / Steps to reproduce
Selectboxes
fieldRequired
asFalse
and configure aMinimum selected checkboxes
of 1 or aboveToon formulier
, go to the step, leave the selectboxes empty and click nextVerwacht gedrag / Expected behavior
Since the selectboxes are not required, leaving it empty should be possible
Screen resolution
None
Device
None
OS
None
Browser
No response