Closed prateek3255 closed 3 years ago
Without a reproducible example it’s hard to know for sure what is going on. Would you be able to create a codesandbox so I can take a look? Also, please fill out the package information section of the bug report template so we can know which version of Formik you are using.
Potentially relevant #610
Here is a sandbox, https://codesandbox.io/s/0mn9p1r87p but I am getting a CORS error in it though.
Your mask is causing the CORS issue, can you simplify it for the purposes of the demo?
How exactly do I simplify it, to remove the CORS error I would have to remove the library?
Here is another example for masking of input value. It handles SSN in 000-00-0000
format
https://codesandbox.io/s/4rkyylp24w
In the future, <Field component={Input}/>
gonna be deprecated but we're currently using this way:
Closing due to long inactivity
🐛 Bug report
I am using a masked input for entering DOB from user, it works fine outside formik, but is not working at all in formik.
Current Behavior
Mask is not working at all, I am able to enter all alphanumeric values to the input. The '/' after entering the number is also not being added automatically
Expected behavior
It should work as it does outside formik
package information