My app has a stepper, one of the steps has 2 forms inside it, Main form and another form. The main form is the form that is required for the step control. The other form is optional (but still I want to validate the input if the user enters any input). Both forms are reactive forms.
The problem is that when I try to move to the next step in the stepper, the other form, is being validated and showing all the errors (though it's not the step control).
The desired behavior that I wish is that when I click the next step it wont affect the other form, and only validate the main form, what can I do in order to achieve it?