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()
});
Source:stackexchange.com
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()
});