Refactoring (#1533)
This commit is contained in:
@@ -41,7 +41,7 @@ import { CreateOrUpdateActivityDialogParams } from './interfaces/interfaces';
|
|||||||
templateUrl: 'create-or-update-activity-dialog.html'
|
templateUrl: 'create-or-update-activity-dialog.html'
|
||||||
})
|
})
|
||||||
export class CreateOrUpdateActivityDialog implements OnDestroy {
|
export class CreateOrUpdateActivityDialog implements OnDestroy {
|
||||||
@ViewChild('autocomplete') autocomplete;
|
@ViewChild('symbolAutocomplete') symbolAutocomplete;
|
||||||
@ViewChild('tagInput') tagInput: ElementRef<HTMLInputElement>;
|
@ViewChild('tagInput') tagInput: ElementRef<HTMLInputElement>;
|
||||||
|
|
||||||
public activityForm: FormGroup;
|
public activityForm: FormGroup;
|
||||||
|
@@ -41,11 +41,11 @@
|
|||||||
autocorrect="off"
|
autocorrect="off"
|
||||||
formControlName="searchSymbol"
|
formControlName="searchSymbol"
|
||||||
matInput
|
matInput
|
||||||
[matAutocomplete]="autocomplete"
|
[matAutocomplete]="symbolAutocomplete"
|
||||||
(blur)="onBlurSymbol()"
|
(blur)="onBlurSymbol()"
|
||||||
/>
|
/>
|
||||||
<mat-autocomplete
|
<mat-autocomplete
|
||||||
#autocomplete="matAutocomplete"
|
#symbolAutocomplete="matAutocomplete"
|
||||||
[displayWith]="displayFn"
|
[displayWith]="displayFn"
|
||||||
(optionSelected)="onUpdateSymbol($event)"
|
(optionSelected)="onUpdateSymbol($event)"
|
||||||
>
|
>
|
||||||
|
Reference in New Issue
Block a user