JustGoscha / allmighty-autocomplete

Simple to use autocomplete directive in a module for AngularJs!
MIT License
392 stars 232 forks source link

Bugfix of autocomplete suppression during initialization #61

Closed jBenes closed 9 years ago

jBenes commented 10 years ago

If you have click activation turned on and pass a value during directive inicialization, suggestions shouldn't be displayed.

Existing solution had a bug. It didn't suppressed suggestions only after initialization, but whenever old input was evaluated to false (=empty string or first type after initialization without passing init value).

JustGoscha commented 9 years ago

Cool, good job!