diff --git a/apps/www/src/content/docs/components/combobox.md b/apps/www/src/content/docs/components/combobox.md index 8f909099..8134d38e 100644 --- a/apps/www/src/content/docs/components/combobox.md +++ b/apps/www/src/content/docs/components/combobox.md @@ -6,6 +6,14 @@ component: true +
+ + +[Radix Vue](https://github.com/radix-vue/radix-vue/releases/tag/v1.2.0) introduced a breaking change. You will need to wrap `ComboboxGroup` and `ComboboxItem` inside of `ComboboxList` now. + + + + ## Installation The Combobox is built using a composition of the `` and the `` components. @@ -27,6 +35,7 @@ import { CommandGroup, CommandInput, CommandItem, + CommandList } from '@/components/ui/command' import { Popover, @@ -64,22 +73,24 @@ const value = ref({}) No framework found. - - - - {{ framework.label }} - - + + + + + {{ framework.label }} + + + diff --git a/apps/www/src/lib/registry/default/example/ComboboxDemo.vue b/apps/www/src/lib/registry/default/example/ComboboxDemo.vue index 8a4f7f48..758020bd 100644 --- a/apps/www/src/lib/registry/default/example/ComboboxDemo.vue +++ b/apps/www/src/lib/registry/default/example/ComboboxDemo.vue @@ -10,6 +10,7 @@ import { CommandGroup, CommandInput, CommandItem, + CommandList, } from '@/lib/registry/default/ui/command' import { Popover, @@ -48,25 +49,28 @@ const filterFunction = (list: typeof frameworks, search: string) => list.filter( No framework found. - - - - {{ framework.label }} - - + + + + + {{ framework.label }} + + + diff --git a/apps/www/src/lib/registry/default/example/ComboboxForm.vue b/apps/www/src/lib/registry/default/example/ComboboxForm.vue index 5ab4b6bb..fe4de4c4 100644 --- a/apps/www/src/lib/registry/default/example/ComboboxForm.vue +++ b/apps/www/src/lib/registry/default/example/ComboboxForm.vue @@ -13,6 +13,7 @@ import { CommandGroup, CommandInput, CommandItem, + CommandList, } from '@/lib/registry/default/ui/command' import { FormControl, @@ -83,23 +84,25 @@ const onSubmit = handleSubmit((values) => { Nothing found. - - - - {{ language.label }} - - + + + + + {{ language.label }} + + + diff --git a/apps/www/src/lib/registry/new-york/example/ComboboxDemo.vue b/apps/www/src/lib/registry/new-york/example/ComboboxDemo.vue index 04f9614f..9d2e4506 100644 --- a/apps/www/src/lib/registry/new-york/example/ComboboxDemo.vue +++ b/apps/www/src/lib/registry/new-york/example/ComboboxDemo.vue @@ -10,6 +10,7 @@ import { CommandGroup, CommandInput, CommandItem, + CommandList, } from '@/lib/registry/new-york/ui/command' import { Popover, @@ -48,25 +49,27 @@ const filterFunction = (list: typeof frameworks, search: string) => list.filter( No framework found. - - - {{ framework.label }} - - - + + + + {{ framework.label }} + + + + diff --git a/apps/www/src/lib/registry/new-york/example/ComboboxForm.vue b/apps/www/src/lib/registry/new-york/example/ComboboxForm.vue index eb112afc..247c0870 100644 --- a/apps/www/src/lib/registry/new-york/example/ComboboxForm.vue +++ b/apps/www/src/lib/registry/new-york/example/ComboboxForm.vue @@ -13,6 +13,7 @@ import { CommandGroup, CommandInput, CommandItem, + CommandList, } from '@/lib/registry/new-york/ui/command' import { FormControl, @@ -86,23 +87,25 @@ const onSubmit = handleSubmit((values) => { Nothing found. - - - {{ language.label }} - - - + + + + {{ language.label }} + + + +