multiselect
multiselect copied to clipboard
Grouping by optgroup loses items when searching
This can be reproduced on the optgroup demo page: https://crlcu.github.io/multiselect/examples/optgroup.html
- Make sure all items are on the left side.
- Notice under "German Cars" title there are 2 items: Audi and Mercedes
- Search for Audi and move it to the right.
- Clear the search field "Mercedes" and the grouping "German Cars" is gone.
To clarify, this only happens when using the optgroup. I don't know if there's an easy way to reset the remaining items so they all appear again? I've tried turning off the sorting but that didn't work.