You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, so inject(FormContextKey) works for the other way around. You getting the parent state in a child.
So far there isn't a way to do the opposite, but I'm having second thoughts about this limitation. For now, you can try looking for aggregating form state issues/examples because it is similar to this one.
Hello @logaretm !
Thanks for this amazing package. I've just upgraded to v4 and i have this use case
How can my parent-component get access to all errors and the validate function of each child form ?
I have a global submit button on my parent component and i want this button to trigger validation inside each children component.
Is there anything to solve that kind of scenario ?
(I've seen an another issue mentionning inject(FormContextKey) but I couldn't get it to work...
Thanks again :)
The text was updated successfully, but these errors were encountered: