Skip to content

Instantly share code, notes, and snippets.

@furkankaracan
Created Sep 7, 2022
Embed
What would you like to do?
How to use fireOnChange().
FireOnChangeTest: function (executionContext) {
var formContext = executionContext.getFormContext();
// You first update the value of the "myAttribute"
// Then You want to trigger onChange event of the "myAttribute".
formContext.getAttribute("myAttribute").setValue(newValue);
formContext.getAttribute('myAttribute').fireOnChange();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment