useFieldArray with @mui/material Tabs #12141
Unanswered
StefanZivkovic
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
i have an example with simple form having tabs. And i want to use
useFieldArray
, but it feels like its not working as i would like it to work. Probably I am missing something, but not sure what. Basically i use thisHere is the sandbox: https://codesandbox.io/s/usefieldarray-with-tabs-78lhd7?file=/src/App.js.
However, this is the working as expected version - https://codesandbox.io/s/usefieldarray-with-tabs-working-ly3yr5?file=/src/App.js, but here i had to manually / hard_code
useFieldArray
per each tabAny idea how to make things work with first approach? I would like not to use 2nd one if I don't have to
Beta Was this translation helpful? Give feedback.
All reactions