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
{{ message }}
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.
Hello, I have set selectionLimit to 1. If I have selected a value and then want to select another value, I first have to unselect the value currently chosen. Can this be done automatically by selecting another value from the list? It would prevent the user has to do an additional click.
The text was updated successfully, but these errors were encountered:
For anybody who sees this I ended up setting selectionLimit to 2 and then adding the event onMaxSelectionReached where I set whatever model I have to the second selected option.
e.g. html: (simplified for purpose of example) <div ng-dropdown-multiselect="" selected-model="vm.coolio" events="vm.multiEvents"></div> controller: vm.multiEvents = {onMaxSelectionReached: function(){ vm.coolio = [vm.coolio[1]] } };
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, I have set selectionLimit to 1. If I have selected a value and then want to select another value, I first have to unselect the value currently chosen. Can this be done automatically by selecting another value from the list? It would prevent the user has to do an additional click.
The text was updated successfully, but these errors were encountered: