final-form / final-form/react-final-form-arrays

isEqual returns true by default

Open
#67 3 comments 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
210
Forks
69
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/37333016/52351620-2ba2ba80-2a3c-11e9-891c-095334a4e9a5.png)

@erikras
This function is used to determine whether the fields are pristine or not, so if we have initial values and current form values - `[] and [{...},{...}]`, it shows that the values are pristine.
Could you please clarify the reason why it returns `true` in case of no callback is provided? I think it would be better to write it in the docs because it's quite confusing, I have expected it working this way - 'return this.props.a === this.props.b' by default instead of returning true when the custom callback is not provided, thanks!.
'

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.