You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cleaned up all the unnecessary code from my component and left only what is important to test the problem. The code written this way worked normally up to version 0.3.12.
It seems to work only if it has one fieldArray, which doesn't make much sense.
When I add another fieldArray, it throws me error, as if it doesn't know which of those fields it refers to:
Images and full code are attached.
Hi @martin-sic thanks for reporting. I'll try to take a look soon, it seems like an inference error.
By the way, we've just released 2.0.0 stable on npm (we'll announce it once the documentation PR is merged) which removes fp-ts and it changes the fieldArray API a little, so that it works more reliably (it's called subForm in 2.0.0).
While we investigate this bug in 1.x I suggest to maybe evaluate how costly it would be for you to switch to 2.0
I cleaned up all the unnecessary code from my component and left only what is important to test the problem. The code written this way worked normally up to version 0.3.12.
It seems to work only if it has one fieldArray, which doesn't make much sense.
When I add another fieldArray, it throws me error, as if it doesn't know which of those fields it refers to:
Images and full code are attached.
NonWorkingVersion.txt
WorkingVersion.txt
The text was updated successfully, but these errors were encountered: