newforms-bootstrap
newforms-bootstrap copied to clipboard
Failed propType: Required prop `form` was not specified in `BootstrapForm`.
Seeing this error in my attempts to use newforms-bootstrap despite following the docs.
Out of curiosity, I headed to:
http://insin.github.io/newforms-bootstrap/allfields.html
to see if it also threw the warning and it does. The forms still seem to render, but I'm not sure if perhaps I'm doing something that will bite me later. There are also other warnings that may or may not need addressing.
Thanks.
+1
+1
+1
I see the line index.js:187 form: React.PropTypes.instanceOf(Form).isRequired,
As far as I see it is only to guarantee it is used between a <forms.Form></forms.Form> tag. But if you don't pass it, an error is generated anyways.