-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add radios field and checkboxes field #57
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what types of fields this supports …
- Single Checkbox
- Single Radio Button
- multiple Checkboxes
- multiple Radio Buttons
- single-option Select Field
- multi-value Select Field
|
Drupal calls them Radio, Radios, Checkbox, Checkboxes, and Select (the latter with |
In JSON Forms there are only checkboxes for multiple selects specified: https://jsonforms.io/docs/multiple-choice#multi-select It would be possible to use a custom option like for the [https://jsonforms.io/docs/multiple-choice#radio-button](single radio) to use a select field for multi selects. Yes, I think it would make sense to implement this. However, for the current use case it's not necessary. Regarding |
84e1a25
to
3df561f
Compare
Civi/RemoteTools/JsonForms/FormSpec/Factory/Control/RadiosControlFactory.php
Outdated
Show resolved
Hide resolved
22402c1
to
3cc2441
Compare
systopia-reference: 26357