You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs describe the usage of UncontrolledTextInput:
<UncontrolledTextInputonSubmit={handleSubmit}/>
With an optional prop initialValue.
The prop typings are wrong. The required/expected prop instead of onSubmit is onChange and it does not accept initialValue at all, instead requires a value.
The docs describe the usage of UncontrolledTextInput:
With an optional prop
initialValue
.The prop typings are wrong. The required/expected prop instead of
onSubmit
isonChange
and it does not acceptinitialValue
at all, instead requires avalue
.So the required syntax is:
Also
Except
should be replaced withOmit
to fix:The text was updated successfully, but these errors were encountered: