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

accept-user-input=false does not work as expected #277

Open egesu opened 6 years ago

egesu commented 6 years ago

Current behavior

Expected/desired behavior

Other information

diegogvieira commented 6 years ago

I am having this issue to. When user types for example: "asdasdas", the input should be set to initial stage when empty in the first place. Or be set to its initial value

SlapBassist commented 6 years ago

This is also not working properly for me.

sh4ka commented 6 years ago

It is not working, it seems that it somehow reverts to the last char stored in the control before a bad input is typed. Steps: 1 .- Type As, select Asia. 2.- Type 'aaaaa' after 'Asia', you go back to Asia when focus is lost. 3.- Type 'bbbb' after 'Asia', you go back to 'Asiaa'. 4.- Type 'ccccc' After 'Asiaa', you go back to 'Asiab'. And so on...

nobady90 commented 6 years ago

in many situations this problem comes out ... sometimes it also accepts characters not in the list and keeps the first character in the field ... I think this is a big problem.