Ngx-Bootstrap Typeahead retaining dropdown values of last entered character on input clear when used with http calls

434 Views Asked by At

Ngx-bootstrap not working as expected when I clear the input quickly as it retains the values of the last entered character. For Example: If I type "a" quickly and remove it before the HTTP call is resolved, it retains the list of values for "a" in the typeahead even when input is empty. This is easily replicable in its documentation https://valor-software.com/ngx-bootstrap/#/components/typeahead?tab=overview#async-http-request.

screenshot from above link

Can anybody help with a workaround??

0

There are 0 best solutions below