Is it possible for Validations to down component hierarchy? #5106
-
Hi, Assume a parent component w/ Validations (let's call it ParentValidations) around all its inputs, & a Submit button that calls ParentValidations.ValidateAll(). Further, assume there is a child component inside the parent component w/ Validations (let's call it ChildValidations) around all its inputs, & this child has a Validate button that calls ChildValidations.ValidateAll(). Is there a way for the parent component's Submit button to cause both its own & the child component's validations to run? Thanks, Orion |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The short answer is no. We don't support nesting of Validations component. You could probably do it by manually calling |
Beta Was this translation helpful? Give feedback.
& just learned that providing an @ref to child components in the containing component makes that child component's public methods accessible to the containing component. yay!