formik
formik copied to clipboard
Build forms in React, without the tears π
## Bug report ### Current Behavior Formik do not update properly values property when browser autofills user/password fields. As you can see on this gif the input has visible values,...
## π Feature request ### Current Behavior The `Formik` component's `onSubmit`prop is required. Failing to use it causes a runtime error when submitting and a TypeScript error (if you use...
fixes #3548
Resolve #2758 Reopening #3052
## π Bug report ### Current Behavior When a promise is returned in the `onSubmit` function and this promise is rejected, the rejection is not propagated. It seems the promise...
We recently migrated several formik forms to React Native Web styled with NativeBase. We consider: https://formik.org/docs/guides/react-native However, we are encountering typing performance issues. - We remove all hooks: useField, useFormik...
## π Bug report ### Current Behavior Calling `setFieldTouched` runs validation on old values. ### Expected behavior Validation should be called on new values. ### Reproducible example https://codesandbox.io/s/formik-codesandbox-template-yqrgc I can...
## π Bug report ### Current Behavior There is an issue with calling `setFieldTouched`, `setTouched`, or `onBlur` immediatly after updating the form values. Due to using state.values here and here,...
## Bug report Calling `helpers.setValue` results in an infinite loop when it's called inside useEffect in React 18. React 17: https://codesandbox.io/s/formik-usefield-hook-react-18-bug-forked-ucpg4d?file=/src/App.js React 18: https://codesandbox.io/s/formik-usefield-hook-react-18-bug-nr052g?file=/src/App.js The code of the `App` component...
## βQuestion Is it possible to set focus to the first input in the new row added with push function of FieldArray? [This is a Sandox](https://codesandbox.io/s/fervent-voice-pohfd) with a base of...