Having the following scenario for a checkout page:
CheckoutController └── checkout.hbs ├── <button> // Call to action button, needs to trigger form └── FormGeneratorComponent └── FormObjectComponent └── form-object.hbs └── <form>
How can the
CheckoutController submit the form inside the components? In other words, call to action button is hooked to an action in
CheckoutController that needs to submit the form contained at the deepest level.
Submitting the form from within the components theirselves is not an option, since the CTA button belongs to the global layout, it’s not in any of the components template.