redux-auth
redux-auth copied to clipboard
React Warning
Hello.
Use material-ui and I have 2 warnings:
-
Unknown prop
errors
on tag. Remove this prop from the element. https://fb.me/react-unknown-prop -
value
prop oninput
should not be null. For example
const value = undefined;
return <input type="text" value={value}/>; // <-------- bad (uncontrolled)
const value = undefined;
return <input type="text" value={value || ''}/>; // <-------- good (controlled)
How i can fix that?
Same here on a simple EmailSignUpForm 😓
Upgrading react-bootstrap dependency version from ^0.29.5 to the most recent one (0.30.7 at the moment) should fix the issue, as this has been fixed in version 0.30.1: https://github.com/react-bootstrap/react-bootstrap/pull/2095 I am totally new to Redux and all, but I could try and do a PR.
@lynndylanhurley @tizub Would love to see this resolved. Thank you for all your hard work guys!
I have same problem.
Maybe, warning 1 is caused by this line.
- https://github.com/lynndylanhurley/redux-auth/blob/master/src/views/default/Input.js#L51
{…this.props}
extracts all of AuthInput
props here, but <input />
element has no errors
prop.
@tizub Probably, it will not work with react-bootstrap v0.30.x because <Input />
has been removed in v0.30.0 😢