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
Warning: InputMask contains an input of type undefined with both value and defaultValue props. Input elements must be either
controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled
or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components
I'm using Formik + react-input-mask and my case missed including the field "initialValues={{".
Example:
< Formik
innerRef={formikRef}
initialValues={{
phone: '',
}}
My field looks like this:
{({ field }) => (
)}
in your case you would have to see the more complete code.
When implementing the component, show this error.
The text was updated successfully, but these errors were encountered: