John Rom

Results 130 comments of John Rom

v3 will provide access to get Formik's state using `getState()`, which means you would be able to traverse getState().touched

Formik does not automatically reset your values after submit. I can only assume you are getting values from redux or another state manager, and the props returned from that state...

@pLavrenov please consider providing a codesandbox to aid in investigation. As far as I'm aware, the only reason Formik would be reset is if you: a) manually call resetForm b)...

A repro is basically the only way we can help diagnose an issue of this nature.

This is resolved (I think) in the v3 PR #3231 using the separate hook `useFormikConfig()`. `useFormikContext` in the v3 PR is meant to be completely stable (it does not cause...

No clue; I opened the above PR, but I am not a maintainer.

The documentation should state that handleSubmit passes the submit event as submitContext by default. Other than that I'm ok with these changes since they're commonly requested. @jaredpalmer what do you...

I don't maintain the Formik API so I'll defer to a maintainer here.

A zero manually inputted is very different than an empty string. Depending on your form, it could mean two different things, one meaning "no preference" or some other nullable condition....

@FREEZX field-level meta should be the second item in the Tuple returned by `useField`. Form meta, however, must be accessed from `useFormikContext`. ``` const [field, meta] = useField(props); ``` If...