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

Field Array Validation Broken with latest version of FinalForm/RFF

Open davidhenley opened this issue 7 years ago • 2 comments

With the latest update all validation breaks on Field Arrays. Only thing changed in entire project is the update of these 2 packages. If I remove those packages and do nothing else, it all works again. I would like to be able to use the new form property in onSubmit so I would like to update.

Steps to reproduce

  1. Try touching the Name field, then lose focus. On the first you get required. On the second, the validate function never gets called.
  2. Try adding multiple items in the array. Still no validation.

Examples

Works "final-form": "^1.3.5", "react-final-form": "^1.2.1", Edit 1q618oqw83

Doesn't work "final-form": "^3.0.0", "react-final-form": "^2.1.1" Edit 8xo8yjvz69

davidhenley avatar Dec 28 '17 22:12 davidhenley

@erikras Any ideas?

davidhenley avatar Jan 19 '18 17:01 davidhenley

No longer an issue with the latest versions of libraries Edit react-final-form-arrays #12 can be closed

maciejmyslinski avatar Feb 04 '19 23:02 maciejmyslinski