Skip to content

Commit 9ddea79

Browse files
authored
Merge pull request MicrosoftDocs#3762 from MicrosoftDocs/stjanovi-patch-8
Add note to addOnChange
2 parents 0bdd805 + 5c35c74 commit 9ddea79

File tree

1 file changed

+3
-0
lines changed
  • powerapps-docs/developer/model-driven-apps/clientapi/reference/attributes

1 file changed

+3
-0
lines changed

powerapps-docs/developer/model-driven-apps/clientapi/reference/attributes/addOnChange.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ search.app:
2121

2222
Sets a function to be called when the **OnChange** event occurs.
2323

24+
> [!NOTE]
25+
> If the `addOnChange` method is used on the form `OnLoad` event handler, you should ensure that it's called when necessary. You can use the [getEventArgs](../executioncontext/getEventArgs.md) to conditionally call the `addOnChange` method based on the data load state.
26+
2427
## Attribute types supported
2528

2629
All

0 commit comments

Comments
 (0)