diff --git a/README.md b/README.md index 4df8f5d..c49ed28 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Vue Form Validation with Composition API Documentations NPM Downloads
-GitHub stars +GitHub stars

## Feature diff --git a/docs/advanced/smart-form-component.md b/docs/advanced/smart-form-component.md index df81031..64a0ada 100644 --- a/docs/advanced/smart-form-component.md +++ b/docs/advanced/smart-form-component.md @@ -130,4 +130,4 @@ const { value, attrs } = useField(nameRef) ``` -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) +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) diff --git a/docs/api/use-field-array.md b/docs/api/use-field-array.md index 050007d..b02036f 100644 --- a/docs/api/use-field-array.md +++ b/docs/api/use-field-array.md @@ -149,7 +149,7 @@ console.log(fields.value.map(field => field.value)) ### remove -Remove the item by it index, or remove all when no index is provided. +Remove the item by its index, or remove all when no index is provided. - Type `(index?: number) => void` diff --git a/docs/api/use-form.md b/docs/api/use-form.md index f800a2f..27ac20f 100644 --- a/docs/api/use-form.md +++ b/docs/api/use-form.md @@ -101,7 +101,7 @@ This option allows you to configure the validation strategy **before** first sub This option allows you to configure the validation strategy **after** first submit. By default, validation is triggered during the input change event. :::info -Even if your `reValidationMode` is not set to `submit`, Vorms will revalidate before submitting. +Even if your `reValidateMode` is not set to `submit`, Vorms will revalidate before submitting. ::: - Type `'blur' | 'input' | 'change' | 'submit'` @@ -218,7 +218,7 @@ This validate value could either be: ### onSubmit (Required) -This is your form submission handler, witch will pass your form's `values`. But this will not be called if the validation failed. +This is your form submission handler, which will pass your form's `values`. But this will not be called if the validation failed. - Type diff --git a/docs/zh-tw/api/use-form.md b/docs/zh-tw/api/use-form.md index 5a2de34..5f48047 100644 --- a/docs/zh-tw/api/use-form.md +++ b/docs/zh-tw/api/use-form.md @@ -105,7 +105,7 @@ const { value: sugar, attrs: sugarFieldAttrs } = register('sugar', { 默認情況下,驗證是在輸入事件變更(input change event)時觸發的。 :::info -即使您的 `reValidationMode` 沒有設置為 `submit`,Vorms 仍然會在提交之前重新驗證。 +即使您的 `reValidateMode` 沒有設置為 `submit`,Vorms 仍然會在提交之前重新驗證。 ::: - Type `'blur' | 'input' | 'change' | 'submit'`