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

isEqual on <FieldArray> runs once

Open Noitidart opened this issue 4 years ago • 0 comments

Are you submitting a bug report or a feature request?

What is the current behavior?

isEqual on <FieldArray> only runs once at start. i see the console.log only once.

<FieldArray isEqual={() => {
console.log('here');
return true;
}}>

What is the expected behavior?

It should run on every change.

Sandbox Link

I will do.

What's your environment?

Firefox 77. node - v13.11.0 npm - v13.11.0 "react-final-form": "^6.5.0", "react-final-form-arrays": "^3.1.1", "final-form": "^4.20.0", "final-form-arrays": "^3.0.2",

Noitidart avatar Jun 30 '20 17:06 Noitidart