- Notifications
You must be signed in to change notification settings - Fork 49.9k
Closed
Description
Do you want to request a feature or report a bug?
Bug? Mild DX improvement.
What is the current behavior?
Creating an input with an undefined or null value, then later passing a string value, triggers a warning about controlled inputs.
A component is changing an uncontrolled input of type undefined to be controlled. Input elements should not switch from uncontrolled to controlled (or vice versa)
It's my experience in Reactiflux that this warning is unclear to developers with less familiarity with React, or at least with the "controlled" and "uncontrolled" terms.
benlesh
Metadata
Metadata
Assignees
Labels
No labels