ng2-ui / auto-complete

Angular Auto Complete component and directive
https://ng2-ui.github.io/dist/#/auto-complete
MIT License
279 stars 123 forks source link

undefined issue on tab: #269

Open Pinank opened 7 years ago

Pinank commented 7 years ago

If we don't select any value from the list and press tab than it's going to set undefined in the textfield.

The issue is in plunker code also: [(http://plnkr.co/edit/A5CW2e?p=preview)].

Also on searching its not showing all the records and not having scroll in the autocomplete dropdown.

Is there any way to handle this? screen shot 2017-09-05 at 10 30 05 am

pablogarciamiranda commented 7 years ago

Same problem here.

Pinank commented 7 years ago

1 more thing to notice. I have to user autocomplete in grid. So there will be multiple dropdowns in my case.

I have dropdown of city, country & state and while searching values it should also pass the value of its parent dependant. So If i'm searching states then i have to pass the preselected country id inthat erticular row the search request. Now i'm unable to get the details of on which index the user is currently searching. Is there any way to pass one extra param while searching?

narsipanta commented 6 years ago

i am also facing the same issue

shubham-k7 commented 6 years ago

Unable to replicate in the Plunker provided by you. Can you expand a bit more?