Welcome to the Angular feedback portal. We’re happy you’re here! If you have feedback on how to improve the Angular, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Description:

We are encountering an issue with the MultiSelect component when using Virtual Scrolling. When preselecting values, the following issues occur:

  • Initially, the values are correctly selected.
  • Clicking on a preselected value results in a console error:
    Error: Cannot read properties of undefined (reading 'splice')
  • Selecting a new value displays 'undefined', 'undefined', 'undefined' instead of the correct values.
  • This issue does not occur when Virtual Scrolling is disabled.

Replication Procedure:

  1. Enable Virtual Scrolling
  2. Preselect values in the MultiSelect component.
  3. Click on a preselected value.
  4. Observe the console error.
  5. Click on a new value and observe the incorrect display of undefined.

Sample : 

Sample


NOTE : Issue is not occurs when enableVirtualization as false case.


Expected:

The MultiSelect component should allow selecting and deselecting preselected values without errors.

Current:

Errors appear in the console when interacting with preselected values, and new selections show 'undefined'.