We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51d8a7b commit 734705aCopy full SHA for 734705a
README.md
@@ -7,7 +7,7 @@
7
Set of React hooks that integrates [Laravel Precognition](https://github.com/laravel/framework/pull/44339) with Inertia.js and simple forms. <br>
8
The hooks are highly based on [laravel-precognition-vue](https://www.npmjs.com/package/laravel-precognition-vue?activeTab=readme).
9
10
-# Install (TBD)
+# Install
11
12
#### Using npm
13
@@ -67,8 +67,8 @@ const ExampleForm = () => {
67
const onHandleChange = (event: ChangeEvent<HTMLInputElement>) => {
68
// This will validate the input and update the form data
69
validateAndSetDataByKeyValuePair(
70
- event.target.name as keyof FormFields,
71
- event.target.value,
+ event.target.name as keyof FormFields,
+ event.target.value,
72
);
73
}
74
0 commit comments