support for duplicate values #155
ArcticLord
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Do you have plans for supporting duplicate values in options?
Consider the following options setting:
Option 2 exists twice in Group 1 and Group 2. When select /unselect one of them, the other one should be selected / unselected automatically.
So I can only have either both or none of them selected.
Since
document.querySelector('#id').setValue(['2']);
works and selects both Option 2 entries I tried something like this:But this will result in an endless loop. There would be problems anyway with this solution because
setValue
always scrolls to the top.Do you have any other ideas? Amazing select tool by the way.
Beta Was this translation helpful? Give feedback.
All reactions