Pristine icon indicating copy to clipboard operation
Pristine copied to clipboard

Password match validation?

Open xaca opened this issue 5 years ago • 2 comments

Hello,

How could add password matching. I'm trying to use addValidator but this functin only has to parameters. So I don't know the correct way to validate those fields.

Thank you!

xaca avatar Aug 09 '20 12:08 xaca

You can add a validator to the 2nd element and compare the value with the value of the first element. Please see the demo here: https://codepen.io/sha256/pen/oNxxJrv

sha256 avatar Aug 16 '20 14:08 sha256

Thank you!

xaca avatar Aug 18 '20 16:08 xaca