Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
codelover2k opened this issue Nov 15, 2021 · 7 comments
Open

Comments

@codelover2k
Copy link

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
Copy link

same here

@vbifonixor
Copy link

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
Copy link

beckwy commented Dec 23, 2021

same here

@beckwy
Copy link

beckwy commented Dec 23, 2021

@erikras hope you fix it

@Gryndii
Copy link

Gryndii commented Mar 2, 2022

guys, any updates on this issue?
got same bug

@iaremarkus
Copy link

Anyone manage to get this resolved? 😥

@amandhurwey
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants