onChange event in custom component

Hi,
why the custom component does not trigger the onChange event?http://webix.com/snippet/78531cd7

You need to move on in defaults section. Or use attachEvent API from control constructor.

http://webix.com/snippet/050a1797

Ok. Thank you.