I'm having an accordion with 3 expansion panels. I want to keep at least one panel open always. i.e, I don't want the user to close all the panels.
How to achieve this?
Thanks in advance.
I'm having an accordion with 3 expansion panels. I want to keep at least one panel open always. i.e, I don't want the user to close all the panels.
How to achieve this?
Thanks in advance.
You can use [expanded] property available in mat-accordion. Add the below code in the mat-expansion-panel tag
[expanded]="true"