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

Create new custom option on enter. #68

Open shtimn opened 7 years ago

shtimn commented 7 years ago

Hi,

Now a new option is created only on click on the link "Add ...". Prease, add the ability to create new custom option on enter

Thanks.

indrimuska commented 7 years ago

Hi @shtimn, I am able to set a value by hitting ENTER. Actually I see a different issue: it does not highlight the Add ... label using down arrow when no other items are listed in the dropdown. But, if I hit the upwards arrow the item is highlighted and selectable with the ENTER button.