File tree Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -108,18 +108,15 @@ const handleSubmit = (e) => {
108
108
109
109
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:
110
110
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. |
123
120
124
121
## Options
125
122
You can’t perform that action at this time.
0 commit comments