Enable the arrays to be marked as "required"#420
Enable the arrays to be marked as "required"#420crumblix wants to merge 2 commits intorjsf-team:masterfrom
Conversation
|
It seems people are agreeing on this behavior and want to see it implemented in the lib, see ongoing dicussion in #402. I'd like to make them happy and land this along #410, would you be willing to post your modifications as a single consistent PR so it's easier to review and discuss the implementation? Thanks! |
|
Sure thing! Happy to :) I've got a busy day ahead but I'll try and get to it tonight if that's OK? Just so as I've got what you want straight, I'll merge my changes for #410 into this PR? |
No rush, I'm going to bed (ahh the joys of timezones) ;)
Works for me. |
|
This has now all been wrapped up in a new PR #442. This PR can be closed. |
Reasons for making this change
New feature:
Enable the arrays to be marked as "required". Meaning that the user must select "at least one" option from the list.
This references the array part of ticket:
#411
Checklist
Test performed. I've set each of the items in the arrays section of the playground to required and get no errors or warnings ... other than the expected validation message due to an element being "required"