I am creating an angular application which has mat stepper with 4 steps. User has to complete the steps one by one. Only if he completes the form in first step he can go to next step by clicking on the button in the form not by clicking on stepper label. After completing the steps he can still visit all the completed steps by clicking on the stepper label . I know this can be achieved with linear and completed attributes and lot of examples are available .
Scenario is if the user completed till step 4 and he goes back to step 2 , change anything in the form of second step then step 3 and step 4 has to be disabled (even though it is completed it has to become disabled and non editable and user has to navigate via the buttons only like in the beginning). Is it possible to achieve this in mat stepper ?