I want to implement a few angular toggle buttons. I don't exactly know how many, that depends on my database data.
The buttons are shown on a sidebar, which means that only up to 3 buttons can be rendered in one line.
Is there a way to break to a new line after e.g. 3 buttons ? Without creating a new mat-button-toggle-group ?
Here's my code:
<mat-button-toggle-group multiple name="categories_1" ngModel aria-label="Kategorien">
<mat-button-toggle value="LOREM1_1" checked>Value1</mat-button-toggle>
<mat-button-toggle value="LOREM1_2" checked>Value2</mat-button-toggle>
<mat-button-toggle value="LOREM1_3" checked>Value3</mat-button-toggle>
<mat-button-toggle value="LOREM2_1" checked>Value4</mat-button-toggle>
</mat-button-toggle-group>
Thanks for your help!