dnauck / angular-advanced-searchbox

A directive for AngularJS providing a advanced visual search box
http://dnauck.github.io/angular-advanced-searchbox/
MIT License
226 stars 98 forks source link

pressing enter autocompletes first matching suggestedValue when restrictToSuggestedValues is false #56

Open johnmccabe opened 8 years ago

johnmccabe commented 8 years ago

Is this behaviour intended, if I supply suggestedValues with restrictToSuggestedValue set to false and I type some text that matches a suggested value pressing enter autocompletes that matching value - means its convoluted to enter a partially matching string. For example to pass l in the example below I have to press escape then enter.

suggestedvalues

See http://plnkr.co/edit/uE8IPffRWwRuqwQSTWy9?p=preview for example.

robtg4 commented 8 years ago

@johnmccabe how did you solve the suggestion parameter problem? When I see the suggestion come up and click on it - the whole parameter then dissappears - this happens on your demo

johnmccabe commented 8 years ago

@robtg4 I'm no longer working with this directive, we were intending to create our own variant as development on this one seems to have stalled.