File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
apps/v4/content/docs/forms Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ Here's a basic example of a form using TanStack Form with the `<Field />` compon
5757 :name="field.name"
5858 :model-value="field.state.value"
5959 @blur="field.handleBlur"
60- @input="field.handleChange"
60+ @input="field.handleChange($event.target.value) "
6161 :aria-invalid="isInvalid(field)"
6262 placeholder="Login button not working on mobile"
6363 autocomplete="off"
@@ -237,7 +237,7 @@ function isInvalid(field) {
237237 :name="field.name"
238238 :model-value="field.state.value"
239239 @blur="field.handleBlur"
240- @input="field.handleChange"
240+ @input="field.handleChange($event.target.value) "
241241 type="email"
242242 :aria-invalid="isInvalid(field)"
243243 />
@@ -634,7 +634,7 @@ Access individual array items using bracket notation: `fieldName[index].property
634634 :name="subField.name"
635635 :model-value="subField.state.value"
636636 @blur="subField.handleBlur"
637- @input="subField .handleChange"
637+ @input="field .handleChange($event.target.value) "
638638 :aria-invalid="isSubFieldInvalid(subField)"
639639640640 type="email"
You can’t perform that action at this time.
0 commit comments