Skip to content

How to reset Array Fields #118

Closed Answered by gutentag2012
CelitoTracktile asked this question in Q&A
Discussion options

You must be logged in to vote

So two issues played a role here.

First, I calculated the default values for nested fields wrong. I created undefined default values for nested fields. Now, I just ignore fields for the default values that have none defined.

Secondly, I kept fields after they were unmounted; now, they always get removed once they are unmounted, and only the value is kept (unless you specify the removeValueOnUnmount option on the field).

A new version will be deployed later today.
I hope this helps.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by gutentag2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants