Multi stage reactive form - How to disable Prev button in first form and Next in last page


I am beginner and I am trying to use multi stage reactive form. By default how can I disable the “Prev” button in first page & “Next” button in last page.

Or how can we display buttons “Prev”, “Next” based on which form we are in?

3 stages are there. How can I disable/hide “prev” in 1st stage. “Next” in 3rd stage.


Solved this by moving the Prev, Next buttons from the ToolBar to form body