How to handle tap event on sencha searchfield 'Clear' (X) icon?

1.4k Views Asked by At

i am trying to handle event on tap of clear button on sencha searchfield which appears there by default. i couldn't find a listener to handle that event on sencha docs. any help will be appreciated.

i referred this thread. sencha touch textfield clear event but i dont want to display separate clear icon apart from the default clear icon displayed by searchfield.

thank you.

1

There are 1 best solutions below

0
On

you can clear that by using function clearFilter()