Skip to content

Commit e6e7092

Browse files
docs(common): add tips for async input events
1 parent a2def96 commit e6e7092

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

components/dateinput/events.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ The date input is a generic component, so you must provide either a `Value`, or
4343
}
4444
````
4545

46+
@[template](/_contentTemplates/common/general-info.md#event-callback-can-be-async)
47+
4648
>tip The `OnChange` event is a custom event and does not interfere with bindings, so you can use it together with models and forms.
4749
4850
>caption Handle OnChange and use two-way binding
@@ -95,6 +97,8 @@ The `ValueChanged` event fires upon every change (for example, keystroke) in the
9597
}
9698
````
9799

100+
@[template](/_contentTemplates/common/general-info.md#event-callback-can-be-async)
101+
98102
@[template](/_contentTemplates/common/issues-and-warnings.md#valuechanged-lambda-required)
99103

100104
>caption Handle ValueChanged and provide initial value

components/datepicker/events.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ The date picker is a generic component, so you must provide either a `Value`, or
4343
}
4444
````
4545

46+
@[template](/_contentTemplates/common/general-info.md#event-callback-can-be-async)
47+
4648
>tip The `OnChange` event is a custom event and does not interfere with bindings, so you can use it together with models and forms.
4749
4850
>caption Handle OnChange and use two-way binding
@@ -95,6 +97,8 @@ The `ValueChanged` event fires upon every change (for example, keystroke) in the
9597
}
9698
````
9799

100+
@[template](/_contentTemplates/common/general-info.md#event-callback-can-be-async)
101+
98102
@[template](/_contentTemplates/common/issues-and-warnings.md#valuechanged-lambda-required)
99103

100104
>caption Handle ValueChanged and provide initial value

components/numerictextbox/events.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ The numeric textbox is a generic component, so you must provide either a `Value`
4343
}
4444
````
4545

46+
@[template](/_contentTemplates/common/general-info.md#event-callback-can-be-async)
47+
4648
>tip The `OnChange` event is a custom event and does not interfere with bindings, so you can use it together with models and forms.
4749
4850
>caption Handle OnChange and use two-way binding
@@ -95,6 +97,8 @@ The `ValueChanged` event fires upon every change (for example, keystroke) in the
9597
}
9698
````
9799

100+
@[template](/_contentTemplates/common/general-info.md#event-callback-can-be-async)
101+
98102
@[template](/_contentTemplates/common/issues-and-warnings.md#valuechanged-lambda-required)
99103

100104
>caption Handle ValueChanged and provide initial value

components/textbox/events.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ The `OnChange` event fires when the new value is commited by the user either by
4040
}
4141
````
4242

43+
@[template](/_contentTemplates/common/general-info.md#event-callback-can-be-async)
44+
4345
>tip The `OnChange` event is a custom event and does not interfere with bindings, so you can use it together with models and forms.
4446
4547
>caption Handle OnChange and use two-way binding
@@ -91,6 +93,8 @@ The `ValueChanged` event fires upon every change (for example, keystroke) in the
9193
}
9294
````
9395

96+
@[template](/_contentTemplates/common/general-info.md#event-callback-can-be-async)
97+
9498
@[template](/_contentTemplates/common/issues-and-warnings.md#valuechanged-lambda-required)
9599

96100
>caption Handle ValueChanged and provide initial value

0 commit comments

Comments
 (0)