jaredpalmer / jaredpalmer/formik

Manual trigger validation with validateForm does not display errors

Open
#3,151 6 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
TypeScript
Stars
34.3k
Forks
2.8k
PR merge metrics
No merged PRs in 30d

Description

### Current Behavior
After executing the `validateForm` method, I don't see any errors

### Expected behavior
After executing the `validateForm` method, form errors should appear

### Reproducible example
Click button "validate form"
https://codesandbox.io/s/formik-validatefieldwithschema-6witd

example from: https://github.com/formium/formik/blob/master/examples/ValidateFieldWithSchema.js

Contributor guide

Open the contributing guide

Research direction

Start with the CodeSandbox reproduction and the referenced examples/ValidateFieldWithSchema.js example, then trace the manual validateForm flow. Confirm the behavior in the form example and determine why validation errors are not displayed; done means clicking “validate form” visibly shows the form errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.