Closed aslbekkucharov closed 1 year ago
This looks more like a Nuxt issue, your schema is correct, doing a normal validation of the same values works fine. I don't use Nuxt/Vue so can't really say what is wrong, but it looks like your using the schema fields individually which won't work since the schema fields are related to each other, they need to know what the values of the other fields are.
Hi, I'm using Yup for my project on Nuxt, for data validation. I now need to validate for password compatibility (i.e. passwords in two input fields should be the same), I searched the internet and found the code below, but for some reason it doesn't work properly, it shows an error from the moment I focus on the input field and doesn't go away even if the passwords in the two fields are the same.
Reproduce link