33 Component ,
44 ComponentFactoryResolver ,
55 ContentChildren ,
6- EventEmitter , Inject ,
6+ EventEmitter ,
7+ Inject ,
78 Input ,
89 NgZone ,
910 OnChanges ,
@@ -58,7 +59,9 @@ import { TranslateService } from '@ngx-translate/core';
5859import { ReorderableRelationship } from './existing-metadata-list-element/existing-metadata-list-element.component' ;
5960
6061import { DYNAMIC_FORM_CONTROL_TYPE_ONEBOX } from './models/onebox/dynamic-onebox.model' ;
61- import { DYNAMIC_FORM_CONTROL_TYPE_SCROLLABLE_DROPDOWN } from './models/scrollable-dropdown/dynamic-scrollable-dropdown.model' ;
62+ import {
63+ DYNAMIC_FORM_CONTROL_TYPE_SCROLLABLE_DROPDOWN
64+ } from './models/scrollable-dropdown/dynamic-scrollable-dropdown.model' ;
6265import { DYNAMIC_FORM_CONTROL_TYPE_TAG } from './models/tag/dynamic-tag.model' ;
6366import { DYNAMIC_FORM_CONTROL_TYPE_DSDATEPICKER } from './models/date-picker/date-picker.model' ;
6467import { DYNAMIC_FORM_CONTROL_TYPE_LOOKUP } from './models/lookup/dynamic-lookup.model' ;
@@ -70,7 +73,9 @@ import { DsDynamicTagComponent } from './models/tag/dynamic-tag.component';
7073import { DsDatePickerComponent } from './models/date-picker/date-picker.component' ;
7174import { DsDynamicListComponent } from './models/list/dynamic-list.component' ;
7275import { DsDynamicOneboxComponent } from './models/onebox/dynamic-onebox.component' ;
73- import { DsDynamicScrollableDropdownComponent } from './models/scrollable-dropdown/dynamic-scrollable-dropdown.component' ;
76+ import {
77+ DsDynamicScrollableDropdownComponent
78+ } from './models/scrollable-dropdown/dynamic-scrollable-dropdown.component' ;
7479import { DsDynamicLookupComponent } from './models/lookup/dynamic-lookup.component' ;
7580import { DsDynamicFormGroupComponent } from './models/form-group/dynamic-form-group.component' ;
7681import { DsDynamicFormArrayComponent } from './models/array-group/dynamic-form-array.component' ;
@@ -82,7 +87,9 @@ import { CustomSwitchComponent } from './models/custom-switch/custom-switch.comp
8287import { find , map , startWith , switchMap , take } from 'rxjs/operators' ;
8388import { combineLatest as observableCombineLatest , Observable , Subscription } from 'rxjs' ;
8489import { DsDynamicTypeBindRelationService } from './ds-dynamic-type-bind-relation.service' ;
85- import { DsDynamicRelationInlineGroupComponent } from './models/relation-inline-group/dynamic-relation-inline-group.components' ;
90+ import {
91+ DsDynamicRelationInlineGroupComponent
92+ } from './models/relation-inline-group/dynamic-relation-inline-group.components' ;
8693import { SearchResult } from '../../../search/models/search-result.model' ;
8794import { DSpaceObject } from '../../../../core/shared/dspace-object.model' ;
8895import { NgbModal , NgbModalRef } from '@ng-bootstrap/ng-bootstrap' ;
@@ -497,6 +504,7 @@ export class DsDynamicFormControlContainerComponent extends DynamicFormControlCo
497504 * Unsubscribe from all subscriptions
498505 */
499506 ngOnDestroy ( ) : void {
507+ super . ngOnDestroy ( ) ;
500508 this . subs
501509 . filter ( ( sub ) => hasValue ( sub ) )
502510 . forEach ( ( sub ) => sub . unsubscribe ( ) ) ;
0 commit comments