Skip to content
This repository was archived by the owner on Apr 9, 2025. It is now read-only.

Commit b0fded1

Browse files
committed
feat: Add isValidating property to the register function docs
1 parent 6c8f54d commit b0fded1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/api/use-form-handler/register.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Coming soon...
3939
| disabled | `boolean` | Disabled state binding for the field |
4040
| isDirty | `boolean` | Dirty state binding for the field. Only returned if `withDetails` is true |
4141
| isTouched | `boolean` | Touched state binding for the field. Only returned if `withDetails` is true |
42+
| isValidating | `boolean` | Validating state binding for the field. Only returned if `withDetails` is true |
4243
| onChange | `(el: any) => Promise<void>` | Value update handler for native inputs |
4344
| required | `boolean \| string` | Native required validation. Only returned if `useNativeValidations` is set to true and `required` is set. |
4445
| min | `number \| Object` | Native min validation. Only returned if `useNativeValidations` is set to true and `min` is set. |
@@ -243,7 +244,6 @@ Custom validations are kept very simple, can be synchronous or asynchronous. We
243244
## Type Declarations
244245

245246
```ts
246-
247247
interface ValidationWithMessage {
248248
value: number | string | RegExp
249249
message: string
@@ -281,6 +281,7 @@ export type Register = (
281281
onChange?: (() => Promise<void>) | undefined
282282
isDirty?: boolean | undefined
283283
isTouched?: boolean | undefined
284+
isValidating?: boolean | undefined
284285
disabled?: boolean | undefined
285286
name: keyof T
286287
modelValue: T[keyof T]

0 commit comments

Comments
 (0)