Files
Showy/frontend/src/app/list-selection-modal/list-selection-modal.component.html
T

19 lines
743 B
HTML

<h2 mat-dialog-title>Choose a list</h2>
<mat-dialog-content>
<mat-form-field appearance="fill">
<mat-label>List Name</mat-label>
<input [formControl]="searchControl" matInput>
</mat-form-field>
<mat-dialog-actions align="center" *ngIf="doShowAddButton()">
<button mat-button (click)="createList()" *ngIf="doShowAddButton()">Create List</button>
</mat-dialog-actions>
<mat-selection-list #shoes>
<mat-list-option *ngFor="let list of listsToShow" [value]="list">
{{list.name}}
</mat-list-option>
</mat-selection-list>
</mat-dialog-content>
<mat-dialog-actions align="end">
<button mat-button [mat-dialog-close]="true">OK</button>
<button mat-button mat-dialog-close>Cancel</button>
</mat-dialog-actions>