React-redux-form: The novalidate attribute is not added to the <form> element

Created on 30 Oct 2016  Â·  4Comments  Â·  Source: davidkpiano/react-redux-form

"If you want to disable HTML5 validation for a form, add a novalidate attribute to the form element"
https://davidkpiano.github.io/react-redux-form/docs/guides/validation.html

version: 1.0.13

Most helpful comment

I got it to work.

The rrf documentation needs to updated, as it specifies "novalidate", whereas React requires it to be in camel case. ie. "noValidate" with a capital 'V'.

All 4 comments

Right, you have to add it yourself. It is optional, and many developers might not want to use novalidate, in order to show errors using the DOM API.

I got it to work.

The rrf documentation needs to updated, as it specifies "novalidate", whereas React requires it to be in camel case. ie. "noValidate" with a capital 'V'.

Fixed in the docs!

cheers : )

On Mon, Oct 31, 2016 at 3:06 PM, David Khourshid [email protected]
wrote:

Fixed in the docs!

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/davidkpiano/react-redux-form/issues/505#issuecomment-257210145,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AU-j33OF6pTAENb-aXVUZN_krJgp74Koks5q5WlfgaJpZM4KkVEo
.

Was this page helpful?
0 / 5 - 0 ratings