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

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

Open codelover2k opened this issue 3 years ago • 7 comments

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

codelover2k avatar Nov 15 '21 00:11 codelover2k

same here

cizz3007 avatar Dec 15 '21 05:12 cizz3007

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

vbifonixor avatar Dec 17 '21 17:12 vbifonixor

same here

beckwy avatar Dec 23 '21 07:12 beckwy

@erikras hope you fix it

beckwy avatar Dec 23 '21 08:12 beckwy

guys, any updates on this issue? got same bug

Gryndii avatar Mar 02 '22 11:03 Gryndii

Anyone manage to get this resolved? 😥

iaremarkus avatar Apr 06 '22 07:04 iaremarkus

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

amandhurwey avatar Feb 27 '23 06:02 amandhurwey