(I'm creating an angular 2 project. The project is that it has a forms inside a modal component). I would like to create a form components (3 child components each of which are form component) inside a modal (the parent component).
Switching/navigation of the form components( child component ) is done using the buttons of the modal (parent component). So basically the submit event of each form are all handled by the same button (next button) of the modal parent component. I would like to disabled the next button of the modal (which is also the submit button of each form) base on my validation. I've been trying to figure out how to implement this for a week now but I can't seem to find any solution.