Closed abarke closed 4 years ago
The possible groupRule
values are SelectAtLeast
, SelectAtMost
, SelectExactly
, SelectARange
If you want a maximum of 1, then set groupRule
to SelectAtMost
The associated attributes are minimumRequired
, maximumAllowed
, as appropriate.
I have submitted Jira DEVDOCS-2087
Thanks @LarryKlugerDS I assume the minimumRequired
option is taken into account if I set groupRule
to SelectAtMost
or could I use SelectExactly
one to make sure the user must check a box, but only one box (radio).
No, I don't think that's right. If you want minimumrequired to be used in that way, you can't use selectatmost, use selectarange
Seems $tabGroup->setMaximumAllowed('1') is not working as expected. I can still select both checkboxes in the online signing ceremony.
I built this solution from this example on stackoverflow: https://stackoverflow.com/a/58210277/11475075
Output: