We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shadcn-svelte Combobox works in Svelte 4, but doesn't in Svelte 5. Tried with both, the code is same in both, the only different is svelte version.
I've created a repo for the same. The svelte 4 works well, svelte 5 fails - keeps adding new items when trying to filter lists
Here's a repo. The svelte 4 version works. Svelte 5 fails - with both svelte 4 and svelte 5 syntax.
https://github.com/memestageceo/combobox-4v5.git
no messages in console.
Windows 11. Browsers: MSEdge, Chrome, Zen
blocking an upgrade
The text was updated successfully, but these errors were encountered:
This seems to be happening directly on the dependency used for the combobox cmdk-sv from this link: huntabyte/cmdk-sv#92 you can find a workaround:
cmdk-sv
<script> let search = $state('') </script> <Command.Root> <Command.Input placeholder="Search framework..." bind:value={search} /> {#key search} <Command.Group> {#each frameworks as framework} <Command.Item> ... </Command.Item> {/each} </Command.Group> {/key} </Command.Root>
Sorry, something went wrong.
We're not addressing Svelte 5 issues until it is out of RC. We cannot control things that Svelte 5 breaks unfortunately.
No branches or pull requests
Describe the bug
Shadcn-svelte Combobox works in Svelte 4, but doesn't in Svelte 5. Tried with both, the code is same in both, the only different is svelte version.
I've created a repo for the same. The svelte 4 works well, svelte 5 fails - keeps adding new items when trying to filter lists
Reproduction
Here's a repo. The svelte 4 version works. Svelte 5 fails - with both svelte 4 and svelte 5 syntax.
https://github.com/memestageceo/combobox-4v5.git
Logs
no messages in console.
System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: