Add event on a icon in a text field

Hi webix team, in the snipped http://webix.com/snippet/c85abf24 I want define a event on the times-circle icon to delete the content of a text field. But the event don’t fire. Any advice?

The onClick handler doesn’t work for the ui.text. We’ll fix an inexactness in our Docs about the icon property, but in fact, you need to use the ui.search control with a built-in icon:

http://webix.com/snippet/060477e2

Hi Listopad, this helps me a lot, thanks