Replies: 1 comment
-
The nested inputs you've provided inside the https://stackblitz.com/edit/vitejs-vite-hw79cv?file=src%2FApp.vue Providing a nested input is for complicated markup, and you would need to hook up the value/event bindings yourself then. The correct way to do it is like this: <Field name="field" v-slot="{ field }">
<input v-bind="field" />
</Field> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been following along with this guide attempting to build a form that can be generated from a JSON payload.
I've built a prototype which adds a field to an array and then attempts to apply pre-defined validation (via a Yup schema).
However, the validation on this field doesn't seem to load correctly. Am I doing something silly?
https://stackblitz.com/edit/vitejs-vite-rxtj1s?file=src/App.vue
Beta Was this translation helpful? Give feedback.
All reactions