Skip to content

Feature request: filter on optgroup + all options children visible #686

@itajackass

Description

@itajackass

Hi, is it possible to implement filter by opgroup without disable option?

Example scenario:

a multiple select with state and cities. For example in Italy:

- Emilia Romagna
---- Parma
---- Piacenza
---- Bologna
---- ...
- Piemonte
---- Torino
---- Alessandria
---- ....

Some times I need to select all cities of a single State. If the list of states is very long, i'd like to use filter box to search: "Emilia Romagna" then click on checkbox for "Emilia Romagna" to select ALL childrens (Parma, PIacenza, Bologna, etc... )

actually the option "filterGroup" enable groups search, but hide all search for childrens... so clicking "Emilia Romagna" with active filter text, not select all children because they are hidden

I'd like to have a mixed search: if filter is found on a optgroup then all children must be visible to facilitate the selection.

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