Why is deleted text field still displayed in the submit? I am using usefieldArray #2102
Unanswered
REDLIGHTFILMS
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
-
When I add a text field and submit the form the whole object is printed in the console, but when I remove the text field and press the "Submit" button it is also printed. In my example this is the same with the task areas: https://codesandbox.io/s/array-problem-46w0g
So my process was I add an extra text field and then I press "next" and then I go back, so I press "back" and then I delete the extra field and click on "next" again and this extra field is printing in the console. What is my fault? How can you fix it?
Beta Was this translation helpful? Give feedback.
All reactions