-
-
Save furkankaracan/d2e78a22d3407da43d9c5b26b30620fe to your computer and use it in GitHub Desktop.
How to use fireOnChange().
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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