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

Remove input field when in single entry mode #18

Closed slavafomin closed 8 years ago

slavafomin commented 8 years ago

Hello!

Thank you for this great module.

However, I would suggest to remove the input field when the control is in single selection mode and create option is disabled. That will make it look more like a classic <select> control.

Right now we have to hide the blinking cursor using CSS workaround.

Thank you!

indrimuska commented 8 years ago

Hi @slavafomin, thank you for the kind words!

This seems an interesting suggestion, could you please provide me a little plunker example showing the behavior you've just described? Maybe this can be useful even for other users :)

indrimuska commented 8 years ago

I'm closing this issue, feel free to open again when you have any suggestion to supply. :)