Precedence Issue
ogheneovo12 opened this issue · comments
shadesofcodes commented
Noticed that calling formik.resetForm(), actually resets the formik state, but the input still maintained it's value, after further digging, realized that the spread operator disconnects the input from being formik controlled, as the value from the formik state will always be overwritten by that of the value from the spread, which in my case is always undefined.
Moving the spread to the top fixes, before other props specification fixes it.