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
<divclass="row" *ngFor="let row of dashboard.rows"><divclass="col"><gridsterclass="dashboard-row-grid" [options]="options"><gridster-item#itemComponentclass="dashboard-grid-item" [item]="item"
*ngFor="let item of row.items"><buttontype="button" class="btn btn-warning" (click)="remove(item, row)">
Remove
</button></gridster-item></gridster></div></div>
When I click the button, item gets removed, but I always get an error in the console:
ERROR TypeError: Cannot read property 'hasAttribute' of null
at Function.GridsterUtils.checkContentClass (gridsterUtils.service.js:65)
at Function.GridsterUtils.checkContentClass (gridsterUtils.service.js:69)
at Function.GridsterUtils.checkContentClass (gridsterUtils.service.js:69)
at Function.GridsterUtils.checkContentClassForEmptyCellClickEvent (gridsterUtils.service.js:58)
at GridsterEmptyCell.emptyCellClickCb (gridsterEmptyCell.service.js:59)
at HTMLUnknownElement.eval (platform-browser.js:2628)
at ZoneDelegate.invokeTask (zone.js:421)
at Object.onInvokeTask (core.js:4740)
at ZoneDelegate.invokeTask (zone.js:420)
at Zone.runTask (zone.js:188)
Any ideas? Should I do something extra?
The text was updated successfully, but these errors were encountered:
Hello, I encountered an error when modifying array of grid items. I remove an item on button click:
When I click the button, item gets removed, but I always get an error in the console:
Any ideas? Should I do something extra?
The text was updated successfully, but these errors were encountered: