Refactoring (#1533)

This commit is contained in:
Thomas Kaul 2022-12-25 12:40:29 +01:00 committed by GitHub
parent 16118d635c
commit c5ee3237ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ import { CreateOrUpdateActivityDialogParams } from './interfaces/interfaces';
templateUrl: 'create-or-update-activity-dialog.html'
})
export class CreateOrUpdateActivityDialog implements OnDestroy {
@ViewChild('autocomplete') autocomplete;
@ViewChild('symbolAutocomplete') symbolAutocomplete;
@ViewChild('tagInput') tagInput: ElementRef<HTMLInputElement>;
public activityForm: FormGroup;

View File

@ -41,11 +41,11 @@
autocorrect="off"
formControlName="searchSymbol"
matInput
[matAutocomplete]="autocomplete"
[matAutocomplete]="symbolAutocomplete"
(blur)="onBlurSymbol()"
/>
<mat-autocomplete
#autocomplete="matAutocomplete"
#symbolAutocomplete="matAutocomplete"
[displayWith]="displayFn"
(optionSelected)="onUpdateSymbol($event)"
>