[x] I grant such license of my work as is required for the purposes of future print editions to Ben Straub and Scott Chacon.
Changes
Use proper required checkboxes syntax
Context
The old forms are not properly forcing some checkboxes to be ticked before proceeding, this PR makes it so that we properly force the checkboxes. π
Turns out you need to put the required: true value under the option key, not in a separate validations key... π
Example of invalid syntax:
- type: checkboxes
attributes:
label: There's no existing/similar bug report.
description: Please search to see if an issue already exists for the bug you encountered.
options:
- label: I have searched the existing issues
validations:
required: true
Example of correct syntax:
- type: checkboxes
attributes:
label: There's no existing/similar bug report.
description: Please search to see if an issue already exists for the bug you encountered.
options:
- label: I have searched the existing issues
required: true
Changes
Context
The old forms are not properly forcing some checkboxes to be ticked before proceeding, this PR makes it so that we properly force the checkboxes. π
Turns out you need to put the
required: true
value under theoption
key, not in a separatevalidations
key... πExample of invalid syntax:
Example of correct syntax: