This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
Add "clearField" event when clearing input type="search" #4683
Closed
Description
Currently when you have an input field with a type of search a small X button appears at the far right after text has been input.
When the X button is clicked, the button is removed and the field is cleared...this is happening through a simple method call rather than an event being fired.
This would allow users to perform other actions which might be necessary. It would also easily allow the jQM Autocomplete plugin to fire it's "clear" method after users have clicked the clear button.
I suggest triggering an event in this case.
Thoughts?