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

The formnovalidate attribute applied on a submit button entirely prevents the form submission #41

Closed
unwiredbrain opened this issue Jan 9, 2013 · 1 comment

Comments

@unwiredbrain
Copy link

Hey Ryan,

I'm not entirely sure, but I think I found a bug related to the formnovalidate attribute.

Here's the test case: http://jsfiddle.net/rP3zH/1/

As you can see, exactly as expected, the Reset button works (as the validation is performed) but when the Cancel button is clicked, instead of submitting the form (thus skipping the validation) nothing happens.

Am I doing something wrong?

@ryanseddon
Copy link
Owner

Ah ok so I think I haven't added support for formnovalidate and I just have the novalidate option for the form. I'll get this added in soon.

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