- πΊπΈUnited States smustgrave
Not sure about using it on permissions but in general maybe.
Currently there is https://www.drupal.org/project/multiple_select β so question is do we want to bring into core?
- πΊπΈUnited States Chris Matthews
Personally +1 for bringing multiple_select type functionality generally into core. Basically standard UX on the web, but up to the UX team/maintainers to decide.
Helpful comments in #3 from 12 years ago
I'd be in support of expanding #type=checkboxes to allow this property, as we do with #type=tableselect.
Other than the permissions page (where I assume you would be suggesting a select all at the top of each role column, can you suggest anywhere else in Core that you think this would be appropriate?
I don't personally think that this is appropriate on the permissions page, how many times do you want to give a role all permissions, and how often do you do this (one per install)?
- Status changed to Active
over 1 year ago 2:58pm 27 June 2023 - π©πͺGermany Anybody Porta Westfalica
Requested since Drupal 6 :D
Here's a Drupal 8+ quickfix module, but I think we should have this as a FAPI option in core and as a field widget setting in checkboxes widgets (e.g. entity references, lists, ...)
I'm quite sure I saw an issue for that somewhere...
- π©πͺGermany Anybody Porta Westfalica
Okay it was an issue I created at Field tools, but @joachim also suggested solving it in core.
- Status changed to Closed: duplicate
5 months ago 10:57am 5 July 2024 - π©πͺGermany Anybody Porta Westfalica
Let' finally close this in favour of β¨ Add a '#selectall' option for checkboxes element Active
Please contribute :)