Using AngularJS 'Typeahead to select multiple values

https://angular-ui.github.io/bootstrap/ with Static arrays example under Typeahead ...

If I wanted to do something like being able to select multiple states, one by one, how would I add that to the Typeahead code? Also, is there anyway when I click on the input - it shows all possible options with a scrollbar?

Edit: I really like this one, but it doesn't allow for multi-select: http://ghiden.github.io/angucomplete-alt/

+3


source to share


2 answers


Here's what I ended up using: https://github.com/tamtakoe/oi.multiselect



+2


source


try to use the selected:

selected on github



The select works very well with angular and css frameworks because the select only hides your original multi-select component without affecting the DOM details.

0


source







All Articles