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
Please specify what version of the library you are using: 3.20.0
Expected / Desired Behavior / Question
The first problem is that in single selection mode (allowMultipleSelections: false) the control doesn't lose focus if you select a term using inline search and not a panel, which is demonstrated below:
The second issue (an enhancement, actually) is a way of selecting a term in the panel. If the control is in a single selection mode (allowMultipleSelections: false), then you have to click two times to select a term - one to select it and second time to click "Save". But since you cannot select more than one in this case, after selecting the first term we can simply close the panel.
This is how it works now:
The suggested change (we don't have any Save/Cancel buttons):
In order not to break existing functionality the idea is to introduce a new property, say simpleSelectionInSingleMode which is false by default. When true (and allowMultipleSelections: false), then the above behaviour will be activated.
If you approve, I will make a PR.
The text was updated successfully, but these errors were encountered:
s-KaiNet
changed the title
[TaxonomyPicker] Enhancments
[TaxonomyPicker] Enhancements
Aug 26, 2024
Category
[✅] Enhancement
[ ] Bug
[ ] Question
Version
Please specify what version of the library you are using: 3.20.0
Expected / Desired Behavior / Question
allowMultipleSelections: false
) the control doesn't lose focus if you select a term using inline search and not a panel, which is demonstrated below:allowMultipleSelections: false
), then you have to click two times to select a term - one to select it and second time to click "Save". But since you cannot select more than one in this case, after selecting the first term we can simply close the panel.This is how it works now:
The suggested change (we don't have any Save/Cancel buttons):
In order not to break existing functionality the idea is to introduce a new property, say
simpleSelectionInSingleMode
which is false by default. When true (andallowMultipleSelections: false
), then the above behaviour will be activated.If you approve, I will make a PR.
The text was updated successfully, but these errors were encountered: