Change event on setValue


When you use setValue method on any form control, then sometimes change event is triggered and sometimes it does not. That is little strange and unintuitive and I have the impression that is coincidence…

Please explain me how change event works, because in your documentation everywhere is explanation Fires on changing the value of a control but in real, input triggers that event, and textarea does not after setValue call.

There is demo that changes value of every form’s control: DHTMLX Snippet Tool
and below is screen with result. true means event was triggered, and false means it did not.

One more fact; If the combo has multiselection enabled, then change is fired when setValue is called, but is not otherwise. Nonsense.