New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confirm not working as expected, when both fields are required. #1123
Comments
I think you can fix this problem by removing <q-input type="password" v-model="user.confirmPassword" v-validate="'confirmed:password'" name="confirm_password" :float-label="confirm"></q-input> Because the value of |
@abdelrahman3d I noted in the issue that I need to put required in order to prevent sending backend calls when the confirmation is not touched... In the case I don't put required, when I validate the form, it does not trigger any error and it allows to make backend calls, and this is what I want to avoid. It doesn't seems to take the password rules as you said. Thank you |
I can confirm that |
Closing due to the introduced changes in 2.1.0 |
Description:
If I have the password as required and the confirmation as required... (because I don't want to allow form submittion if both are not filled) and when I start typing the password, the confirmation errors trigger directly.
It doesn't seems normal to trigger confirmation error when ever password field is dirty.
Code:
As an example (http://element.eleme.io/#/en-US/component/form . Section Custom validation rules ) this is how it seams normal behavior.
Thank you for making this possible. (If you need more info, let me know)
The text was updated successfully, but these errors were encountered: