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

Default selected model value while manual update #41

Closed Nishchit14 closed 8 years ago

Nishchit14 commented 8 years ago

While manual update, set selector model as default selected option in dropdown.

38

Its working for me, Please check this i didn't check all scenario. Let me know if you need some help

indrimuska commented 8 years ago

Thank you @Nishchit14 for submitting this. There are some little things I need to understand before closing this.

Edit does it works for multiple values (I mean when 'multi' is set to true)?

Nishchit14 commented 8 years ago

@indrimuska nop Sorry for that, i will see wen be free. But it seems difficult to understand all flow in library (need to give some time).

If you don't mind then you can edit this PR and resolve this issue easily.

indrimuska commented 8 years ago

Don't worry man, thank you for spending your time in this. Anyway I think this will be solved after closing issue #40 (comment). You can contribute too if you want. :)