final-form / react-final-form-arrays

A component for rendering and editing arrays 🏁 React Final Form
MIT License
205 stars 70 forks source link

Field Array Validation Broken with latest version of FinalForm/RFF #12

Open davidhenley opened 6 years ago

davidhenley commented 6 years ago

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 commented 6 years ago

@erikras Any ideas?

maciejmyslinski commented 5 years ago

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