Skip to content

How to update the form when a field update? #574

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

You must be logged in to vote

So form.setFieldValue("favoriteFood", "none") is working as expected.
in the end it was because i didn't pass the field.state.value to the right field of the Checkbox (nextui), in the above code i passed it to the checked while it should have been isSelected.

Replies: 1 comment

Comment options

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