Skip to content

Commit b22f6a2

Browse files
committed
docs: fix typos
1 parent 8caea50 commit b22f6a2

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/advanced/smart-form-component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,4 +130,4 @@ const { value, attrs } = useField(nameRef)
130130
</template>
131131
```
132132

133-
Now, you can create and compose complex from in your project without the tears. This ideal is inspired by [React Hook Form](https://react-hook-form.com/advanced-usage#SmartFormComponent)
133+
Now, you can create and compose complex forms in your project without the tears. This idea is inspired by [React Hook Form](https://react-hook-form.com/advanced-usage#SmartFormComponent)

docs/api/use-field-array.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ console.log(fields.value.map(field => field.value))
149149

150150
### remove
151151

152-
Remove the item by it index, or remove all when no index is provided.
152+
Remove the item by its index, or remove all when no index is provided.
153153

154154
- Type `(index?: number) => void`
155155

docs/api/use-form.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ This option allows you to configure the validation strategy **before** first sub
101101
This option allows you to configure the validation strategy **after** first submit. By default, validation is triggered during the input change event.
102102
103103
:::info
104-
Even if your `reValidationMode` is not set to `submit`, Vorms will revalidate before submitting.
104+
Even if your `reValidateMode` is not set to `submit`, Vorms will revalidate before submitting.
105105
:::
106106
107107
- Type `'blur' | 'input' | 'change' | 'submit'`
@@ -218,7 +218,7 @@ This validate value could either be:
218218

219219
### onSubmit (Required)
220220

221-
This is your form submission handler, witch will pass your form's `values`. But this will not be called if the validation failed.
221+
This is your form submission handler, which will pass your form's `values`. But this will not be called if the validation failed.
222222

223223
- Type
224224

docs/zh-tw/api/use-form.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const { value: sugar, attrs: sugarFieldAttrs } = register('sugar', {
105105
默認情況下,驗證是在輸入事件變更(input change event)時觸發的。
106106
107107
:::info
108-
即使您的 `reValidationMode` 沒有設置為 `submit`,Vorms 仍然會在提交之前重新驗證。
108+
即使您的 `reValidateMode` 沒有設置為 `submit`,Vorms 仍然會在提交之前重新驗證。
109109
:::
110110
111111
- Type `'blur' | 'input' | 'change' | 'submit'`

0 commit comments

Comments
 (0)