Strange behaviour when using removeValue mode="array" #1000
-
I'm having an issue with the You can reproduce the problem by following these steps:
Currently, the result is:
However, the expected result is:
I’m not sure if I'm doing something wrong. Could someone please take a look at the code and see if this might be a bug? Thank you! https://codesandbox.io/p/devbox/crazy-wind-64cdcd?embed=1 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think it's because you're having both controlled and uncontrolled inputs (with value undefined). Does it happen the same with this? |
Beta Was this translation helpful? Give feedback.
I think it's because you're having both controlled and uncontrolled inputs (with value undefined).
Does it happen the same with this?
value={subField.state.value ?? ''}