Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Limit the maximum number of selections allowed in multiple mode #1110

Merged
merged 3 commits into from
Aug 3, 2015

Conversation

cdjackson
Copy link
Contributor

This adds a limit attribute to the directive to limit the number of selections allowed in multi select mode.

@dimirc
Copy link
Contributor

dimirc commented Aug 1, 2015

Can you add a test?

@cdjackson
Copy link
Contributor Author

Added a test to ensure that we limit selection to 2. We start with one selection, add another and check we have 2, then add another and check we still only have 2 selections.

dimirc added a commit that referenced this pull request Aug 3, 2015
Limit the maximum number of selections allowed in multiple mode
@dimirc dimirc merged commit f953cc3 into angular-ui:master Aug 3, 2015
@cambridgemike
Copy link

@dimirc Is this going out in the next maintenance release? If so, any ideas when that might be?

@mbajur
Copy link

mbajur commented Sep 2, 2015

@dimirc i've made a fork with build for that feature: https://github.com/mbajur/ui-select (release: 0.12.1-mb)

@ganesh-vellanki
Copy link

ganesh-vellanki commented Sep 23, 2016

Is single select feature available, with tagging ?

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants