Select All button for long lists of checkboxes

Created on 4 August 2009, about 15 years ago
Updated 5 July 2024, 2 months ago

Anyone else incredibly annoyed when they have to check through a list of 49 out of 50 checkboxes? Why not just select all and unclick one?

This feature needs to be standard. permission lists are too long to have to do manually all the way down, and it would be great to be able to have select all buttons for each module on those.

✨ Feature request
Status

Closed: duplicate

Version

11.0 πŸ”₯

Component
BaseΒ  β†’

Last updated 17 minutes ago

Created by

πŸ‡ΊπŸ‡ΈUnited States msumme

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡Έ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 about 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave
  • πŸ‡©πŸ‡ͺ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 2 months ago
  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

    Let' finally close this in favour of ✨ Add a '#selectall' option for checkboxes element Active
    Please contribute :)

Production build 0.71.5 2024