kobaltedev/kobalte

Error in ComboBox when an option contains double quotes

SreeniIO opened this issue · 0 comments

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://stackblitz.com/edit/github-1j1ryx-bz1ymt?file=src%2Froutes%2Findex.tsx
  2. Open the ComboBox
  3. Hover on an option with double quotes
  4. Error "Failed to execute 'querySelector' on 'Element': '[data-key="Blue"berry""]' is not a valid selector." is thrown

Expected behavior
Values with double quote should not cause an error