Skip to content
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

Chrome - saved password restored after submitHandler. #2228

Closed
szmagli opened this issue Oct 22, 2018 · 0 comments · May be fixed by #2230
Closed

Chrome - saved password restored after submitHandler. #2228

szmagli opened this issue Oct 22, 2018 · 0 comments · May be fixed by #2230

Comments

@szmagli
Copy link

szmagli commented Oct 22, 2018

Chrome - saved password restored after submitHandler.

When you login and remember email and password for chrome autocomplete function submitHandler trigger autocomplete when user try to enter different password

Your environment

  • version of jquery-validate: 1.17.0
  • which browser and its version: Chrome 69 and 68

Steps to reproduce

  1. Comment jquery validate code.
  2. Enter email and password.
  3. Submit form.
  4. Accept remember email and password.
  5. Refresh page.
  6. Uncomment jquery validate code.
  7. Try to enter diffrent password and submit (after ~1 second submitHandler trigger chrome and password field is restored)

https://codepen.io/anon/pen/Zqjqax
(Reproduce work only on codepen. On another sites autocomplete work only if you click on input)

Expected behaviour

Browser autocomplete should be never triggered.

Actual behaviour

When user try to enter new password sometimes xhr take remembered password by browser.

szmagli pushed a commit to szmagli/jquery-validation that referenced this issue Oct 25, 2018
@szmagli szmagli closed this as completed Jul 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant