ng2-ui / auto-complete

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

Fix problem for '[accept-user-input] = false' #372

Open GobertBryan opened 5 years ago

GobertBryan commented 5 years ago

Fix problem for '[accept-user-input] = false' (avoid keeping an incorrect character). (eg: write azerty. First time correctly deleted when losing focus but second time, when losing focus, don't delete first character 'a'. And it keeps going) Also avoid problem when part of value is replaced (eg: Chicago renamed Chicert become Chice)