Is there any way to search for specific component down the component
hierarchy?

Consider the following use case:

- I have a component responsible for rendering Bootstrap modal
- this modal may (or may not) contain a form
- if modal contains a form and submission is successful, the modal should
be automatically dismissed
- it modal contains a form and submission is unsuccessful, the modal should
not close (regardless of client validation being on/off)

I've been looking around ComponentSource/ComponentResources classes, but
couldn't find anything relevant yet.

Environment service can't help either, because modal is a form's parent and
at the time of modal rendering FormSupport is not yet available.

-- 
Ilya Obshadko

Reply via email to