feat: multiselect add toggle multiple support
Took a shot at adding support for support toggling multiple options as mentioned in #180
Some notable changes:
- key bindings displayed are now based on the settings of the field rather than hard-coded
- select-all & limit are mutually exclusive
- ignores filter commands if filterable is false (believe it's a bug but could be a breaking change for folks if they relied on filter commands without setting the
Filterable(true)on the field)
@maaslalani does this feature make sense with your product vision? If so, anything I can help with to move this forward?
This looks great! I'd definitely use this and would like to see it included. I like a and c as the key bindings, but if that were a concern, I have seen others use -> right-arrow to select all and <- left-arrow to de-select all / clear all.
@maaslalani What do you think on this? Sorry for the poke, this one would be incredibly useful for me.
hey!
toggle select all was added to main!
gonna close this!
sorry for the delay, and thanks for the PR anyway!