How to specify an onclick event handler for multitext delete buttons?

I want to call a function when the user interactively deletes a multitext subfield. I thought onDestruct would be a good place for this, but the problem is that onDestruct also gets called for other reasons besides the user interactively clicking the delete (minus-circle icon) for a multitext field. Is there a way to specify an onclick event handler just for when the user clicks on that minus-circle icon?

Right now I’m retrieving the stack trace in the onDestruct handler and checking whether the stack includes “webix_input_icon”, but I’d prefer a cleaner solution if possible.

Hello,

How there’s no clear way to catch the moment another section is added or deleted. But we will add the corresponding events into the next version.

Great, thanks!