You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not really a bug. If you insert(0, undefined) or push(undefined), they are pristine. That's how non-array fields appear pristine on first render. The way final-form handles '' and undefined is complex and intentional.
Are you submitting a bug report or a feature request?
bug report
What is the current behavior?
We have an array of fruits.
Initial values are:
[]
Steps to reproduce:
When an Array Field mounts for the first time with insert or push, it's NOT pristine.
What is the expected behavior?
When a normal Field mounts for the first time, it's pristine. I would expect every inserted or pushed input to be pristine as well.
Sandbox Link
What's your environment?
Other information
The text was updated successfully, but these errors were encountered: