Call ModelView base init after view init (#13261)

* Call ModelView base init after view init

* baseInit to end
This commit is contained in:
Charles Gagnon
2020-11-07 09:41:49 -08:00
committed by GitHub
parent 5e00dcb78c
commit 8b73391845
33 changed files with 43 additions and 116 deletions

View File

@@ -61,10 +61,6 @@ export default class DropDownComponent extends ComponentBase<azdata.DropDownProp
}
}
ngOnInit(): void {
this.baseInit();
}
ngAfterViewInit(): void {
if (this._editableDropDownContainer) {
let dropdownOptions: IDropdownOptions = {
@@ -115,6 +111,7 @@ export default class DropDownComponent extends ComponentBase<azdata.DropDownProp
this._register(this._loadingBox);
this._register(attachSelectBoxStyler(this._loadingBox, this.themeService));
this._loadingBoxContainer.nativeElement.className = ''; // Removing the dropdown arrow icon from the right
this.baseInit();
}
ngOnDestroy(): void {