multiselect icon indicating copy to clipboard operation
multiselect copied to clipboard

Replace keyup by input event

Open Seb33300 opened this issue 10 months ago • 0 comments

The input event is a better alternative to keyup event because it's triggered immediately when the value changed, including mouse actions.

In our case, our search input uses the type search and the clear button is not working as expected because of the keyup.

<input type="search" name="q" class="form-control form-control-sm" placeholder="Type to filter">

By using an input event, clear button is now working as expected.

Seb33300 avatar Feb 24 '25 08:02 Seb33300