To add the option of 'Select all' checkbox in the multi-select Dropdown component
Describe the feature that you would like added
We would like to have a 'Select all' option in the multi-select Dropdown component such that when a user selects it, all the options in the dropdown are selected and when the user deselects it, all the options in the dropdown are deselected.
What component or utility would this be added to
Dropdown component
Have you discussed this feature with our team, and if so, who
NA
Additional context/screenshots
The UI for 'Select all' option,
-
when it is selected

-
when it is deselected

The rest of the checkboxes should have the normal out of box UI,
-
when it is selected

-
when it is deselected

If in case this feature request will take time to be implemented, can you please suggest how can we customise the code to get the similar behaviour, especially how to align the UI differently for 'Select all' checkbox and keep the UI for the other checkboxes in the dropdown option as it is out of box.
Thanks for the feedback @Saloni268 !
I’ll mark this as a feature request and add it to our backlog, but we’re likely not going to get to it for a while as we’re currently focused on larger coherence work items and enhancements to our performance, however when we start to converge Dropdown we'll take this feedback into consideration.
In the meantime you might be able to add this functionality with a work around today by leveraging the onRender functions of the Dropdown to provide custom UI for a header that provides a "select all" like experience.
@paulgildea @Saloni268 - same request is already tracked here: #3726. I will close this one as dup