jaredpalmer/formik
GitHub ã§èŠãArray-helper `insert` adds value to error state
Open
#1,092 opened on 2018幎11æ8æ¥
Priority: MediumType: Bughelp wantedpinned
Repository metrics
- Stars
- Â (34,255 stars)
- PR merge metrics
-  (30d ã« merged PR ã¯ãããŸãã)
説æ
ð Bug report
Current Behavior
When i add an item to a FieldArray using insert the value is also inserted into the errors state (see example below).
Expected behavior
Only insert the value to the values state, not to the errors state.
Reproducible example
https://codesandbox.io/s/v87n4p6023
Your environment
| Software | Version(s) |
|---|---|
| Formik | 1.3.1 |
| React | 16.5.2 |