Skip to content

Commit 63b1999

Browse files
authored
Merge pull request #3766 from MicrosoftDocs/master
updating working
2 parents f4920c1 + 1285003 commit 63b1999

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
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

powerapps-docs/developer/model-driven-apps/clientapi/reference/events/form-onload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ search.app:
1818

1919

2020

21-
The form `OnLoad` event occurs after the form has loaded. It cannot prevent the window from loading. Use the `OnLoad` event to apply logic about how the form should be displayed, to set properties on fields, and interact with other page elements.
21+
The form `OnLoad` event occurs after the form has loaded. It also occurs after a record is created by selecting the **Save** button on the main form. It cannot prevent the window from loading. Use the `OnLoad` event to apply logic about how the form should be displayed, to set properties on fields, and interact with other page elements.
2222

2323
The form `OnLoad` events are synchronous. However, you should **not** make synchronous network requests in an `OnLoad` event handler. This can cause a slow save experience and an unresponsive app. Instead, you can make asynchronous network requests.
2424

0 commit comments

Comments
 (0)