react-final-form-arrays icon indicating copy to clipboard operation
react-final-form-arrays copied to clipboard

onSubmit ARRAY_ERROR does not bubble to FieldArrayRenderProps

Open djeeg opened this issue 7 years ago • 0 comments

Are you submitting a bug report or a feature request?

Bug

What is the current behavior?

https://codesandbox.io/s/46ozq77v7

Type "test" or "fail" in Company, then submit

What is the expected behavior?

errors.customers[ARRAY_ERROR] is available somewhere in render props

Note: these props do get flagged

"invalid": true,
"submitFailed": true,

However I dont see

"submitError": [],

And an error prop seems to be missing

Extra

Code Sandbox has deps lists as 4.4.0 However in render props I see, not sure whats going on there

"__versions": {
    "final-form": "4.3.1",
    "react-final-form": "3.1.5"
  }

djeeg avatar Mar 28 '18 13:03 djeeg