Skip to content

[New Feature] Invert Selection #883

@joex92

Description

@joex92

What is the current behavior?

options {
  // ...
  header: ['checkAll', 'uncheckAll'], // (false | string | array) False, custom string or array indicating which links to show in the header & in what order.
  // ...
}

What is the expected behavior?

options {
  // ...
header: ['checkAll', 'uncheckAll','checkInvert'], // (false | string | array) False, custom string or array indicating which links to show in the header & in what order.
  // ...
}

when clicking Check Invert, as it's called, uncheck checked items and check uncheked items.

If you are requesting a new or changed feature, please provide a rationale

Sorry if this was already requested, but as I see on the code there isn't a way to do it.

It would be useful for many applications, e.g., if the multiselection is a filter and you need to do a quick filtering invertion you wouldn't need to uncheck all and recheck the previously unchecked or, viceversa, check all to to uncheck the previously checked.

Will you submit a corresponding Pull Request to fix the bug or implement the feature?

idk if this applies

Please tell us about your setup

  • Version: 3.0.1
  • Browser: Edge
  • Other frameworks in use: UI & Finger

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions