You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
when I try to modify the items collection inside a collapsible, it is reporting an error
ERROR TypeError: Cannot read property 'insertBefore' of null
at MzCollectionItemComponent.MzRemoveComponentHost.ngAfterViewInit (remove-component-host.js:11)
at callProviderLifecycles (core.es5.js:11161)
at callElementProvidersLifecycles (core.es5.js:11136)
at callLifecycleHooksChildrenFirst (core.es5.js:11120)
at checkAndUpdateView (core.es5.js:12152)
at callViewAction (core.es5.js:12507)
at execEmbeddedViewsAction (core.es5.js:12465)
at checkAndUpdateView (core.es5.js:12145)
at callViewAction (core.es5.js:12507)
at execEmbeddedViewsAction (core.es5.js:12465)
My html template is:
<mz-collapsible[mode]="'expandable'" ><mz-collapsible-item[active]="true" ><mz-collapsible-item-header><imz-icon-mdi[icon]="'filter-variant'"></i>Filters <spanclass="app-brand-text text-lighten-2">x</span><imz-icon-mdi[icon]="'chevron-down'" [class]="'app-clean-mg'"></i><imz-icon-mdi[icon]="'chevron-left'" [class]="'app-clean-mg'"></i></mz-collapsible-item-header><mz-collapsible-item-body><mz-collection><ng-container><mz-collection-item*ngFor="let f of filters"><span>{{'field.' + f.field | translate}}: {{f.value}}</span><a(click)="remove(f)" mz-secondary-content>x</a></mz-collection-item></ng-container></mz-collection></mz-collapsible-item-body></mz-collapsible-item></mz-collapsible>
where filters is an array of objects of type {field:xxx, value:xxx}
The error happens when filters array is modified.
Alberto
The text was updated successfully, but these errors were encountered:
Thanks for reporting this issue, with your code sample we've been able to reproduce the issue. We will need to investigate further more and we'll keep you in touch.
Hi,
when I try to modify the items collection inside a collapsible, it is reporting an error
My html template is:
where filters is an array of objects of type
{field:xxx, value:xxx}
The error happens when filters array is modified.
Alberto
The text was updated successfully, but these errors were encountered: