Skip to content

Commit c779855

Browse files
committed
Update table
1 parent 44e98b5 commit c779855

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

README.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -108,18 +108,15 @@ const handleSubmit = (e) => {
108108

109109
The `useAJVForm` hook provides a set of utilities and state indicators for robust form management and validation. Below is a detailed description of each export from the hook:
110110

111-
| Export | Type | Description |
112-
| ------- | ---------- | ----------------------------------------- |
113-
| `reset` | `Function` | Resets the form to its initial state. |
114-
| `set` | `Function` | Sets the state for a specific form field. |
115-
116-
|
117-
118-
`validate` | `Function` | Validates the entire form against the provided AJV schema. |
119-
| `onBlur` | `Function` | Handler function to be called on the onBlur event of a form field. |
120-
| `isValid` | `boolean` | Indicates whether the form is currently valid according to the schema. |
121-
| `isDirty` | `boolean` | Indicates whether the form has been modified from its initial state. |
122-
| `state` | `IState<T>` | The current state of the form, including values and errors for each field. |
111+
| Export | Type | Description |
112+
| ---------- | ----------- | -------------------------------------------------------------------------- |
113+
| `reset` | `Function` | Resets the form to its initial state. |
114+
| `set` | `Function` | Sets the state for a specific form field. |
115+
| `validate` | `Function` | Validates the entire form against the provided AJV schema. |
116+
| `onBlur` | `Function` | Handler function to be called on the onBlur event of a form field. |
117+
| `isValid` | `boolean` | Indicates whether the form is currently valid according to the schema. |
118+
| `isDirty` | `boolean` | Indicates whether the form has been modified from its initial state. |
119+
| `state` | `IState<T>` | The current state of the form, including values and errors for each field. |
123120

124121
## Options
125122

0 commit comments

Comments
 (0)