Skip to content

Commit 1f2b4a5

Browse files
committed
feat: add 'data' option to README and bump version to 1.0.30
1 parent f21c963 commit 1f2b4a5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ You can customize `useAJVForm` using the following options:
214214
| `shouldDebounceAndValidate` | `boolean` | If `true`, enables debouncing for field validation. |
215215
| `debounceTime` | `number` | Time in milliseconds for debouncing validation. Ignored if `shouldDebounceAndValidate` is set to false. |
216216
| `ajv` | `Ajv` | Your own AJV instance that might have custom keywords, errors, etc. |
217+
| `data` | `object` | The data object that you'll typically send to your API, etc. |
217218
| `debug` | `boolean` | Enables the logging and helps with debugging |
218219
219220
## Usage in Practice

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@programmer_network/use-ajv-form",
3-
"version": "1.0.29",
3+
"version": "1.0.30",
44
"description": "Custom React Hook that integrates with Ajv JSON Schema Validator",
55
"main": "dist/use-ajv-form.es.js",
66
"author": "Aleksandar Grbic",

0 commit comments

Comments
 (0)