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
at the moment there's no simple way to prevent the opening of the dropdown if a user unselects an element on a select. Preventing the unselect triggers the click on the select. With no event handling, you cannot prevent this line:
We're using select2 for some excessive user<->member<->group handling and the dropdown is bad for the UX, if someone just want's to remove a group membership.
Cheers
Matthias
The text was updated successfully, but these errors were encountered:
Hi,
at the moment there's no simple way to prevent the opening of the dropdown if a user unselects an element on a select. Preventing the
unselect
triggers the click on the select. With no event handling, you cannot prevent this line:https://github.com/select2/select2/blob/master/src/js/select2/selection/allowClear.js#L65
We're using select2 for some excessive user<->member<->group handling and the dropdown is bad for the UX, if someone just want's to remove a group membership.
Cheers
Matthias
The text was updated successfully, but these errors were encountered: