In my VueJs app, I’ve got the following custom field component in VeeValidate
:
<template>
<input v-model="value" type="text" />
</template>
<script setup>
import { useField } from 'vee-validate'
const props = defineProps({
name: {
type: String,
required: true
}
})
const { value } = useField(props.name)
</script>
My form is set with the following configurations:
configure({
validateOnBlur: false,
validateOnChange: false
})
But my custom field component is still validating on Change
and on Blur
. How can I make the custom field work like any other field and respect my form configurations?