Replies: 1 comment
-
|
I guess it's a related issue #1464, there are no available alternatives for this in Vue, which is quite sad :( , I ran into the same issue, want to decompose the form, but it is blocked by this Vue issue: vuejs/core#8553 |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to create reusable Vue components that accept a form from
useForm()but struggling with TypeScript patterns.Example
What I want to achieve:
Remove boilerplate from actual forms by wrapping all my reusable components with a Field component
Question:
Is there an established TypeScript pattern for this in Vue? I noticed
createFormHookContextswas added for React in #1179, so I'm wondering if there's a Vue equivalent or recommended approach.Beta Was this translation helpful? Give feedback.
All reactions