[Vuejs]-VeeValidate form using data provided by API

0👍

The way that is closest to normal Vue is to use v-model directly on Field components.

The example from the docs that is most relevant is this one:

<Field type="text" name="name" v-model="name" />

Or if you need more complex fields:

<Field v-model="name" type="text" name="name" v-slot="{ field }">
  <input v-bind="field">
</Field>

Leave a comment