Add new option for "(Un-)Select all"

Created on 4 February 2022, almost 3 years ago
Updated 27 June 2023, over 1 year ago

Problem/Motivation

An option that allows checking or unchecking everything would make it much easier for the user when there are many values.

Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

🇪🇸Spain cbccharlie

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.

  • 🇩🇪Germany Anybody Porta Westfalica

    Thanks @cbccharlie I agree this would be super helpful!

    The MR needs a reroll.

  • 🇩🇪Germany Anybody Porta Westfalica
  • @grevil opened merge request.
  • Assigned to Grevil
  • Status changed to Needs work over 1 year ago
  • 🇩🇪Germany Grevil

    Just realized, I really don't like the approach, creating the checkbox through the javascript, we should create it inside the widgets "formElement" instead and also use two buttons "Unselect all" and "Select all" instead of one checkbox.

  • 🇩🇪Germany Grevil

    Ok, nevermind, instead links should be used AND the selection should display on every level.

  • Status changed to Needs review over 1 year ago
  • 🇩🇪Germany Grevil

    Never mind, let's not change the existing functionality too much. Using links instead of the checkbox and adding them on each term level, can be done in a follow-up issue!

    Please review! The branch aimed at 2.0.x is basically the implementation by @cbccharlie with some minor adjustments! There are two screenshots of the form attached.

  • 🇩🇪Germany Anybody Porta Westfalica

    Thanks @Grevil! I think we should now have @thomas.frobieter have a look at the classes and details. Did you test it works as expected and the additional checkbox doesn't interfer with the form checkboxes?

  • 🇩🇪Germany Grevil

    Did you test it works as expected and the additional checkbox doesn't interfere with the form checkboxes?

    Yes, it works as expected, as you can see from the screenshots! No, it doesn't interfere with the form checkboxes! :)

Production build 0.71.5 2024