0

Autocomplete does not clear the values via clicking the remove button in textbox (input filed)

When I type "a" in autocomplete:

enter image description here

When I clear the textbox using backspace, it's working as expected:

enter image description here

When again I entered "a"

enter image description here

Now I clear the "a" by using click the [x] icon

enter image description here

The input field value was cleared. But the autocomplete doesn't clear. It still showing the records.

0

1 Answer 1

1

The autocomplete event listener on that input element is registered to the keyDown event.

It's not responding to the change event, which gets triggered by the [x].

See here, change is absent:

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .