We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4adfee commit 68b2312Copy full SHA for 68b2312
.changeset/wise-shrimps-try.md
@@ -0,0 +1,5 @@
1
+---
2
+"bits-ui": patch
3
4
+
5
+fix(Command): fallback to id when no group value
packages/bits-ui/src/lib/bits/command/command.svelte.ts
@@ -728,7 +728,7 @@ class CommandGroupContainerState {
728
readonly opts: CommandGroupContainerStateProps,
729
readonly root: CommandRootState
730
) {
731
- this.trueValue = opts.value.current;
+ this.trueValue = opts.value.current ?? opts.id.current;
732
733
useRefById({
734
...opts,
0 commit comments