Skip to content

Commit ebe0c73

Browse files
committed
update doc
1 parent 6089b2a commit ebe0c73

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/content/docs/useform/setvalues.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ This function allows you to dynamically set multiple field values at once and ha
1818
| `value`<br/><TypeText>Partial\<TFieldValues\> \| (data: TFieldValues) => Partial\<TFieldValues\></TypeText> | | An object containing the field values to update, or a callback function that receives the current form values and returns the updated values. This argument is required. |
1919
| `options` | `shouldValidate`<br/><TypeText>boolean</TypeText> | <ul><li>Whether to compute if your input is valid or not (subscribed to <TypeText>errors</TypeText>).</li><li>Whether to compute if your entire form is valid or not (subscribed to <TypeText>isValid</TypeText>).</li></ul> |
2020
| | `shouldDirty`<br/><TypeText>boolean</TypeText> | <ul><li>Whether to compute if your input is dirty or not against your `defaultValues` (subscribed to <TypeText>dirtyFields</TypeText>).</li><li>Whether to compute if your entire form is dirty or not against your `defaultValues` (subscribed to <TypeText>isDirty</TypeText>).</li></ul> |
21+
| | `shouldTouch`<br/><TypeText>boolean</TypeText> | Whether to set the updated inputs to be touched. |
2122

2223
<Admonition type="important" title="Rules">
2324

0 commit comments

Comments
 (0)