oferh / ng2-completer

Angular 2 autocomplete component
http://oferh.github.io/ng2-completer/
MIT License
347 stars 172 forks source link

clearUnselected Firing After Change Event #344

Closed vpillinger closed 7 years ago

vpillinger commented 7 years ago

It appears that Clear Unselected is firing after the change event (or not firing a change event itself).

This is causing a bug in my case where I catch an empty input error when the user clears the input completely using (change), but I don't catch the error where a user hasn't selected a valid option and the input clears itself.

vpillinger commented 7 years ago

Nvm, it was just pointed out to me that it was a bug in my own code causing this.