Skip to content
Snippets Groups Projects
Commit f7058c76 authored by Florent Poittevin's avatar Florent Poittevin
Browse files

fix: double init on searchable multi select component

parent f8c552d2
No related branches found
No related tags found
No related merge requests found
......@@ -63,6 +63,7 @@ export class SharedSearchableMultiSelectPresentational<TStateModel extends Resou
isLoadingObs: Observable<boolean>;
labelInitialized: boolean = false;
isInitialized: boolean = false;
constructor(protected _fb: FormBuilder,
protected _elementRef: ElementRef,
......@@ -84,8 +85,12 @@ export class SharedSearchableMultiSelectPresentational<TStateModel extends Resou
}
ngOnInit(): void {
if (this.isInitialized) {
return;
}
super.ngOnInit();
// this._managePostExternalChange();
this.isInitialized = true;
}
private _managePostExternalChange(): void {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment