Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing an uncontrolled input to be controlled #20

Open
loaded02 opened this issue Jan 27, 2020 · 0 comments
Open

changing an uncontrolled input to be controlled #20

loaded02 opened this issue Jan 27, 2020 · 0 comments

Comments

@loaded02
Copy link
Owner

loaded02 commented Jan 27, 2020

editor/:id and register/login form

branch: dev

A component is changing an uncontrolled input of type text 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.
https://reactjs.org/docs/forms.html#controlled-components

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

No branches or pull requests

1 participant