My goal is to set up my stepper using Angular Material in a specific way:
When I select a step, the status should switch between validated and not validated. Additionally, only the next step should be clickable after this change.
Therefore, until the current step is validated, I should not be able to click on the subsequent step.
I am unsure about how to achieve this and would appreciate some guidance.
I have come across examples like validators.required but I am uncertain on how to customize it as per my requirements.
Thank you for your help.