You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 23, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: docs/api/actions.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -314,7 +314,7 @@ A "blurred" field indicates that the field model control is not currently focuse
314
314
## `actions.setPristine(model)`
315
315
Returns an action that, when handled by a [`formReducer`](./formReducer), changes the `.pristine` state of the field model in the form to `true`.
316
316
317
-
The "pristine" state indicates that the user has not interacted with this field model yet.
317
+
The "pristine" state indicates that the user has not changed the value of this model yet.
318
318
319
319
### Arguments
320
320
- `model` _(String | Function)_: the model indicated as pristine
@@ -349,7 +349,7 @@ Returns an action that, when handled by a [`formReducer`](./formReducer), change
349
349
## `actions.setTouched(model)`
350
350
Returns an action that, when handled by a [`formReducer`](./formReducer), changes the `.touched` state of the field model in the form to `true`. It simultaneously sets the `.untouched` state to `false`.
351
351
352
-
The "touched" state indicates that this model has been interacted with.
352
+
The "touched" state indicates that this model has been focused and then blurred.
353
353
354
354
### Arguments
355
355
-`model`: (String) the model indicated as touched
@@ -361,7 +361,7 @@ The "touched" state indicates that this model has been interacted with.
361
361
## `actions.setUntouched(model)`
362
362
Returns an action that, when handled by a [`formReducer`](./formReducer), changes the `.touched` state to `false`.
363
363
364
-
An "untouched" field indicates that this model has not been interacted with yet.
364
+
An "untouched" field indicates that this model has not been focused and blurred yet.
365
365
366
366
### Arguments
367
367
-`model`_(String|Function)_: the model indicated as not touched (untouched)
0 commit comments