Using react-input-mask with formik and formik-antd
问题 I'm using formik with @jbuschke/formik-antd . I need to apply a mask +7 (___) ___-__-__ to an input, so I would like to use react-input-mask . At the same time I need to parse the value and remove symbols except + and digits, so I handle onChange and setFieldValue myself. I can get changedValue in the console log, but on submit I'm getting the initial value, not the changed one. Here is my code and the demo: const CustomInput = props => ( <InputMask {...props}>{inputProps => <Input {..