Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

Warning on UPDATE_FIELD_AUTH action uncontrolled input #112

Open
Lyca0n opened this issue Jul 2, 2018 · 0 comments
Open

Warning on UPDATE_FIELD_AUTH action uncontrolled input #112

Lyca0n opened this issue Jul 2, 2018 · 0 comments

Comments

@Lyca0n
Copy link

Lyca0n commented Jul 2, 2018

When the first action of type UPDATE_FIELD_AUTH is triggered, a warning with the message "A component is changing an uncontrolled input of type email to be controlled. Input elements should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components"

is generated, it may be fixed by setting a default "email" and "password" fields on the auth reducer @ "src/reducers/auth.js"

Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant