Closed vrbvillor closed 8 years ago
This is not bug.
This is the submit
specification.
Please see the below URL. http://www.w3.org/TR/html5/forms.html#implicit-submission
Is the detect-blur="off" and detect-change="off" the switch to turn off the validation before submit? But it validate when inputing. It works as thought before clicking the submit. Means before clicking the submit, the password doesn't check the equality between password and confirmpassword.
The link : http://vuejs.github.io/vue-validator/en/timing.html The example performs that when clicked the submit the filter
confirm
will check whether thepassword
and theconfirm password
are equal when inputing in thepassword
. But this performance will not occur if you haven't clicked the submit.The defination of
detect-blur
anddetect-change
are not to check the validation of the components when inputing, aren't they? But now they are checked when inputing after clicked the submit.All the other checkings work as thought, only the customizing one
confirm
goes wrong.