[Vuejs]-Vue 3 + Vee-Validate handleSubmit not working

0👍

In you schema object, the property roleName, need to be the same name of your v-model input.

<input v-model="textInput" label="Email:" />

const schema = yup.object({
    textInput: yup.string().min(4).required()
});

Leave a comment