Closed Darper closed 6 years ago
To avoid flipping between controlled and uncontrolled inputs, use the value prop to indicate that the input is controlled (ignore state updates). Add a defaultValue prop for uncontrolled usage so that applications can set initial value.
To avoid flipping between controlled and uncontrolled inputs, use the value prop to indicate that the input is controlled (ignore state updates). Add a defaultValue prop for uncontrolled usage so that applications can set initial value.