24 lines
760 B
HTML
24 lines
760 B
HTML
<h2 mat-dialog-title>Select Sale Categories</h2>
|
|
<mat-dialog-content>
|
|
<form [formGroup]="form" fxLayout="column">
|
|
<div formArrayName="saleCategories">
|
|
<div
|
|
fxLayout="row"
|
|
*ngFor="let sc of list; index as i"
|
|
[formGroupName]="i"
|
|
fxLayout="row"
|
|
fxLayoutAlign="space-around start"
|
|
fxLayout.lt-md="column"
|
|
fxLayoutGap="20px"
|
|
fxLayoutGap.lt-md="0px"
|
|
>
|
|
<mat-checkbox formControlName="saleCategory" fxFlex>{{ sc.name }}</mat-checkbox>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</mat-dialog-content>
|
|
<mat-dialog-actions align="end">
|
|
<button mat-button [mat-dialog-close]="false">Cancel</button>
|
|
<button mat-button (click)="accept()" color="primary">Ok</button>
|
|
</mat-dialog-actions>
|