sisyphus icon indicating copy to clipboard operation
sisyphus copied to clipboard

Trigger change event

Open ghost opened this issue 7 years ago • 1 comments

Maybe I'm missing something but if I have a change event handler the restoreFieldsData function does not invoke the event.

Suggest adding:

field.trigger('change');

at the end of this function.

ghost avatar May 12 '17 16:05 ghost

Thanks just what I needed -- creating a custom control with a hidden textbox to traverse the value needs a to know to update the control, onchange makes sense but this is a know issue that change is not called when done in code. This worked for me. if we don't want it as standard perhaps add it as an option.

Question though, is trigger() supported on all the browsers?

ghost avatar Feb 06 '19 07:02 ghost