useFieldArray methonds not working correctly #12827
Answered
by
ArsenPavliuk-Univisia
ArsenPavliuk-Univisia
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
ArsenPavliuk-Univisia
May 22, 2025
Replies: 2 comments
-
@ArsenPavliuk-Univisia this my code you can check. |
Beta Was this translation helpful? Give feedback.
0 replies
-
My bug was that I passed index + 1 to the Room component but treated it as a zero-based index, so the fields didn’t work. Thanks for helping :) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ArsenPavliuk-Univisia
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My bug was that I passed index + 1 to the Room component but treated it as a zero-based index, so the fields didn’t work. Thanks for helping :)