When the behavior described in #846 happens (only one suggestion with exact match), the order of the events are swapped.
For example, if I have logic the does some cleanup at search complete and do some processing at select, whenever I click in an already filled input, I always end up with a clear state because onSearchComplete triggers after the onSelect event.
When the behavior described in #846 happens (only one suggestion with exact match), the order of the events are swapped.
For example, if I have logic the does some cleanup at search complete and do some processing at select, whenever I click in an already filled input, I always end up with a clear state because
onSearchComplete
triggers after theonSelect
event.I can do some checks to avoid the cleanup.