Skip to content

Comments

Avoid uncontrolled / controlled switch#43

Open
p-fernandez wants to merge 2 commits intotutorialhorizon:masterfrom
p-fernandez:master
Open

Avoid uncontrolled / controlled switch#43
p-fernandez wants to merge 2 commits intotutorialhorizon:masterfrom
p-fernandez:master

Conversation

@p-fernandez
Copy link

This change avoids the appearing of React's warning:

Warning: [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.

Avoids React Warning: [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.
Avoids React Warning: [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.
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

Successfully merging this pull request may close these issues.

1 participant