Welcome to the JavaScript feedback portal. We’re happy you’re here! If you have feedback on how to improve the JavaScript, 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

Here is a demonstration of the problem: https://stackblitz.com/edit/7vexcu

There is ListBox with items containing backslashes (\), and the selectItems function is used to select an item. Items that have backslashes in their "values", cannot be selected.

It seems that doubling the backslashes works partly when selecting items, but when calling refresh, the selections is again lost:

listObj.selectItems(['folder1\\\\item1'], true, true);
listObj.refresh();


It also seems that the quotation marks don't work, which can be worked around e.g., with the XML escaping, through (" -> "). It would be optimal, that the component wouldn't require any special escapings to be applied for the data.