Skip to content

V4 Vue 2.7.x support #3856

Answered by logaretm
dparish asked this question in Q&A
Jul 22, 2022 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

I'm not sure since I haven't checked if Vue 2.7 has the same VNode API which was the main reason for the breaking change. The old API wasn't possible with Vue 3 so v4 had to be something different, unfortunately.

Now even if 2.7 worked with v4, I don't see that helping your migration efforts (well maybe if you want to slowly migrate to Vue 3) as you will still need to change your validation API. But the opposite like @tinyfly mentioned would be if it was possible.

If you are curious to know the reason specifically. In Vue 3, the VNode API doesn't tell you which node has v-model on it as directives were converted to functions and event handlers. So that means the ValidationProvider won't b…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dparish
Comment options

Answer selected by dparish
Comment options

You must be logged in to vote
1 reply
@logaretm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants