vee validate 'required' validation for contenteditable divs #3347
Unanswered
Vidhya-Dilip
asked this question in
Q&A
Replies: 1 comment
-
This is mentioned in the docs, check the model-less validation section |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Versions
Describe the bug
How to set 'required' rule for contenteditable divs? Right now, it is not throwing any validation error because the way value of normal
<input />
and<div contenteditable="true"></div>
are taken differently.Eg.
<ValidationProvider name="title" rules="required" v-slot="v">
<div contenteditable="true">{{title}}</div>
<p>{{ v.errors[0] }}</p>
</ValidationProvider>
Beta Was this translation helpful? Give feedback.
All reactions