indrimuska / angular-selector

A native AngularJS directive that transform a simple <select> box into a full html select with typeahead.
http://indrimuska.github.io/angular-selector
MIT License
96 stars 36 forks source link

Bug when you delete the last option in a multi selector #56

Closed swimmadude66 closed 8 years ago

swimmadude66 commented 8 years ago

The selectedValues was being set to '' instead of [] with input.val('');

This new change ensures there is always a selectedValues array to which a value can be pushed.

indrimuska commented 8 years ago

Thank you @swimmadude66, this will be available in the next release 👍