Refactoring (#1533)

pull/1536/head
Thomas Kaul 2 years ago committed by GitHub
parent 16118d635c
commit c5ee3237ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;

@ -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)"
>

Loading…
Cancel
Save