The data-validate get's attached to the original field. This makes for a bad user experience if you're triggering validations on blur. When you fill out the original field and tab to the confirmation an error will be triggered before you get a chance to fill out the confirmation.
There are ways to hack a fix with JS, but I think a better solution would be to attach the data-validate to the confirmation field by default.
I plan on looking into this an submitting a PR, but I thought I'd add an issue in case someone wanted to tackle it first or tell me why it's a bad idea.
When applying confirmation validation:
The
data-validate
get's attached to the original field. This makes for a bad user experience if you're triggering validations on blur. When you fill out the original field and tab to the confirmation an error will be triggered before you get a chance to fill out the confirmation.There are ways to hack a fix with JS, but I think a better solution would be to attach the
data-validate
to the confirmation field by default.I plan on looking into this an submitting a PR, but I thought I'd add an issue in case someone wanted to tackle it first or tell me why it's a bad idea.
thanks