Describe the feature
Right now, when you set validateMode: 'blur' on useForm() ALL fields from the form get validated on blur.
So this is what I did in order to fix it:
<span v-show="touched.email">{{ errors.email }}</span>
However, by doing this, when you submit the form no message shows up, because none of the fields have been touched.
Ideally I would like to either have blur only trigger validation on the blurred field OR make form submission touch all fields
Additional information
Describe the feature
Right now, when you set
validateMode: 'blur'onuseForm()ALL fields from the form get validated on blur.So this is what I did in order to fix it:
However, by doing this, when you submit the form no message shows up, because none of the fields have been touched.
Ideally I would like to either have blur only trigger validation on the blurred field OR make form submission touch all fields
Additional information