Error when trying to add an item after removing all items from ListBox

Hi, I'm getting the error message "this.liCollections[index].parentNode is null" when adding an item to the ListBox using the addItem() function. This only happens after removing all the items from the ListBox using the removeItem() function.

1 Reply 1 reply marked as answer

MK Muthukrishnan Kandasamy Syncfusion Team November 27, 2020 12:04 PM UTC

 
Hi Cuitlahuac, 
 
Thanks for contacting Syncfusion support. 
 
We have validated your reported problem in EJ ListBox component. But we were unable to reproduce your reported problem in our end, the addItem method works properly without facing any issues. We have attached the issue validation sample for your convenience, which can be downloaded from the below link. 
 
 
 
 
 
Please check the above sample, if the issue still persists in your application. Please share some additional details it will be help us to provide you the prompt solution. 
 
  1. Share us the ListBox rendering code block.
  2. If you face any script error in console window of the browser, then please share us those error screenshots.
  3. Share us the issue replicating sample or else replicate your reported issue in the shared sample.
  4. Share us the screen recorded video with issue replicating steps.
 
Regards, 
Muthukrishnan K 



Marked as answer
Loader.
Up arrow icon