I'm using v4 with the composition api. I don't quite understand how the useForm and useField functions relate to each other.
Currently I'm having multiple small forms on the same page, each with a few fields, maybe even sharing an input field with the same name. I would expect to be able to define some kind of context (a form html element reference?) to be able to set some initial values.
Or do I need to split this page up in sub components to achieve this?
I'm using v4 with the composition api. I don't quite understand how the
useFormanduseFieldfunctions relate to each other.Currently I'm having multiple small forms on the same page, each with a few fields, maybe even sharing an input field with the same name. I would expect to be able to define some kind of context (a form html element reference?) to be able to set some initial values.
Or do I need to split this page up in sub components to achieve this?