<form class="PopupContainer" #popupForm="ngForm">
    <!-- <dx-button class="buttonLayoutCancel" icon="close" (click)="close()"></dx-button> -->
    <h2 mat-dialog-title class="messageBoxHeader">{{description}} - {{keyItemName}} </h2>

    <mat-dialog-content class="PopupContent">

        <div class="buttons">
            <button id="btnSave" name="btnSave" class="btnSave" mat-stroked-button
                [disabled]="!baseEntityWrapper.enabledSaveButton() || readOnly" (click)="save() ">
                <mat-icon>save</mat-icon> Übernehmen
            </button>
            <button #btnCancel id="btnCancel" name="btnCancel" class="btnCancel" mat-stroked-button (click)="cancel()">
                <mat-icon>cancel</mat-icon> Abbrechen
            </button>
        </div>


        <hensel-selection
            #input_windreamSearch
            id="input-windreamSearch"
            class="input-windreamSearch"
            [dataSource]=windreamSearchList
            placeholder="Windream Search Kachel"
            keyExpr="entityId"
            displayExpr="selectionName"
            sortField="*"
            [multiSelect]=false
            separator=","
            [(selectedItems)]="focusedItem.windreamSearchId"
            [customFilterFn]="focusedItem.entityId === 0? getNotUsedWindreamSearches: ''"
            [showSpinner]=this.departmentDataService.windreamSearchList.isLoading
            required>
        </hensel-selection>


    </mat-dialog-content>
</form>
