react-redux-realworld-example-app
react-redux-realworld-example-app copied to clipboard
Forms are changing uncontrolled input of type text to controlled.
In application, the forms are changing uncontrolled input of type text to controlled. Here is error screenshot.
It can be fixed if we add default values in render(). For example in Register.js
Change this
const email = this.props.email;
const password = this.props.password;
const username = this.props.username;
to
const email = this.props.email || '';
const password = this.props.password || '';
const username = this.props.username || '';