kobaltedev / kobalte

A UI toolkit for building accessible web apps and design systems with SolidJS.
https://kobalte.dev
MIT License
1.23k stars 63 forks source link

Error in ComboBox when an option contains double quotes #480

Open SreeniIO opened 2 weeks ago

SreeniIO commented 2 weeks ago

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