Im getting the error message "this.liCollections[index].parentNode is null"
when adding an item to the ListBox using it's function addItem. The
error only occurs after removing items from the same ListBox using it's
function removeItem.
I have my ListBox on an HTML file like this:
<ejs-listbox #listBoxComponent
[dataSource]='data$ | async'
[fields]="{value:'id', text: 'description'}">
</ejs-listbox>
on my TS file im getting the control by template reference like this:
@ViewChild('listBoxComponent')
public listboxComponent: ListBoxComponent;
and accessing it's functions like this:
this.listboxComponent.addItem(selectedItem);
this.listboxComponent.removeItem(selectedItem);
where selectedItem it's an Object like this
}