Skip to content

Problem with Field Array Validation in Form #1445

Closed Answered by rvsia
yldshv asked this question in Need help
Discussion options

You must be logged in to vote

Thank you for providing this example.

I think there is an issue using the useEffect.

If you do only this, it works fine:

  const FieldListener = () => {
    const { valid } = useFormApi();

    console.log("valid", valid);

    return null;
  };

Also the submit is working correctly.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rvsia
Comment options

Answer selected by yldshv
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants