Skip to content

Commit 09c8c9a

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

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Vue Form Validation with Composition API
1010
<a href="https://vorms.mini-ghost.dev/" target="__blank"><img src="https://img.shields.io/static/v1?label=&message=docs&color=3D957F" alt="Documentations"></a>
1111
<a href="https://www.npmjs.com/package/@vorms/core" target="__blank"><img alt="NPM Downloads" src="https://img.shields.io/npm/dm/@vorms/core?color=00629E&label="></a>
1212
<br>
13-
<a href="https://github.com//Mini-ghost/vorms" target="__blank"><img alt="GitHub stars" src="https://img.shields.io/github/stars/Mini-ghost/vorms?style=social"></a>
13+
<a href="https://github.com/Mini-ghost/vorms" target="__blank"><img alt="GitHub stars" src="https://img.shields.io/github/stars/Mini-ghost/vorms?style=social"></a>
1414
</p>
1515

1616
## Feature

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)