Refactoring (#1533)
This commit is contained in:
parent
16118d635c
commit
c5ee3237ed
@ -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…
x
Reference in New Issue
Block a user