user2389511
user2389511

Reputation: 61

How to use vue3 input component with vee-validate?

I'm a newbie with vuejs. I'm trying to use the input component with vee-validate and I got this example example link as an example that works great but I'm unable to create a v-model with this example. What am I missing?

Upvotes: 0

Views: 2109

Answers (1)

Nima Ebrazeh
Nima Ebrazeh

Reputation: 1306

You can use useForm and useField which are two custom composition API in vee-validate. I write an example code which is what you want.

For further details please read this two documentation:

useField API reference

useForm API reference

Upvotes: 1

Related Questions