You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Can we add the capability to select all filtered options?
Currently, it's possible to filter options using keywords, which updates SelectList accordingly. However, the SelectItem associated with the "select all" checkbox only operates on the original options, rather than the filtered options.
To accomplish this goal, we can make some changes to the allAreSelected(), selectAll, and selectNone methods in SelectPanel to make use of this.filteredOptions() instead of props.options.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Can we add the capability to select all filtered options?
Currently, it's possible to filter
options
using keywords, which updatesSelectList
accordingly. However, theSelectItem
associated with the "select all" checkbox only operates on the originaloptions
, rather than the filtered options.react-multi-select/src/select-panel.js
Lines 171 to 181 in 19a6d69
To accomplish this goal, we can make some changes to the
allAreSelected()
,selectAll
, andselectNone
methods inSelectPanel
to make use ofthis.filteredOptions()
instead ofprops.options
.The text was updated successfully, but these errors were encountered: