#1266·vuelidate

Validation breaks when using portal

Author: monfortmCreated Sep 25, 2025Updated Oct 14, 2025
Labelsbug0.x

I understand the library is not actively maintained. So this is more for the record, hopefully can help some people. The bug is basically described in this comment https://github.com/vuelidate/vuelidate/issues/1081#issuecomment-1968363316.

Describe the bug

Gathering validation occurring in a component does not work for teleported parts (via vue portal).

This kinda makes sense because HTML ends up somewhere else in the DOM (and therefore prevents vuelidate to find validation down the DOM.

I can't tell at wether the same problem exists with vue3 + teleport

Reproduction URL None