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

Plugin stops working after Submit event #5

Closed
Krule opened this issue Sep 24, 2010 · 1 comment
Closed

Plugin stops working after Submit event #5

Krule opened this issue Sep 24, 2010 · 1 comment

Comments

@Krule
Copy link

Krule commented Sep 24, 2010

I am doing a validation before submitting and in case validation fails execute event.preventDefault();

When that happens, placeholders no longer work and, in case of password field, if nothing has been entered in it, it remains type="text" on focus.

@mathiasbynens
Copy link
Owner

We don’t want to stop the plugin after event.preventDefault() in a submit handler. Closed by 0fefabf.

This issue was closed.
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

No branches or pull requests

2 participants