final-form / react-final-form-arrays

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

TypeError: Cannot read properties of undefined (reading 'active') #167

Open codelover2k opened 2 years ago

codelover2k commented 2 years ago

I am using react-final-form with Next.js!

So I have <FieldArray name="telefonnumbers">... in my Form that has some tabs and it works perfectly. It shows the data the way, I can create new items and delete them.

But when I go to one tab, and go to a tab where a FieldArray lives, I get this error: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'active')

I can still see my data and work like nothing happens, but the error only appears if I go to one tab and switch to a tab that has a FieldArray component

cizz3007 commented 2 years ago

same here

vbifonixor commented 2 years ago

Same. Except that it seems like it goes off when my ArrayField has no members, and I add one with .push. I also use map to render my array fields

beckwy commented 2 years ago

same here

beckwy commented 2 years ago

@erikras hope you fix it

Gryndii commented 2 years ago

guys, any updates on this issue? got same bug

iaremarkus commented 2 years ago

Anyone manage to get this resolved? 😥

amandhurwey commented 1 year ago

Any update on this ? I am also facing the same issue. This goes off when I remove the async validation ?