TanStackT
TanStack3y ago
5 replies
worthy-azure

How to render form fields based on result from an API call that uses value in previous form field ?

I have a form which requires and input domain. When domain is provided, I need to call and API and render other fields based on data received.
I thought of using form.Subscribe and then using useEffect in children component, but that throws error.
Was this page helpful?