docs: fix AccountForm.vue example select language empty state (#442)
This commit is contained in:
parent
623fe06aa6
commit
c1c1f171fe
|
|
@ -17,6 +17,7 @@ import {
|
||||||
CommandGroup,
|
CommandGroup,
|
||||||
CommandInput,
|
CommandInput,
|
||||||
CommandItem,
|
CommandItem,
|
||||||
|
CommandList,
|
||||||
} from '@/lib/registry/default/ui/command'
|
} from '@/lib/registry/default/ui/command'
|
||||||
import { Button } from '@/lib/registry/new-york/ui/button'
|
import { Button } from '@/lib/registry/new-york/ui/button'
|
||||||
import {
|
import {
|
||||||
|
|
@ -146,7 +147,8 @@ async function onSubmit(values: any) {
|
||||||
<PopoverContent class="w-[200px] p-0">
|
<PopoverContent class="w-[200px] p-0">
|
||||||
<Command>
|
<Command>
|
||||||
<CommandInput placeholder="Search language..." />
|
<CommandInput placeholder="Search language..." />
|
||||||
<CommandEmpty>No framework found.</CommandEmpty>
|
<CommandEmpty>No language found.</CommandEmpty>
|
||||||
|
<CommandList>
|
||||||
<CommandGroup>
|
<CommandGroup>
|
||||||
<CommandItem
|
<CommandItem
|
||||||
v-for="language in languages" :key="language.value" :value="language.label"
|
v-for="language in languages" :key="language.value" :value="language.label"
|
||||||
|
|
@ -166,6 +168,7 @@ async function onSubmit(values: any) {
|
||||||
{{ language.label }}
|
{{ language.label }}
|
||||||
</CommandItem>
|
</CommandItem>
|
||||||
</CommandGroup>
|
</CommandGroup>
|
||||||
|
</CommandList>
|
||||||
</Command>
|
</Command>
|
||||||
</PopoverContent>
|
</PopoverContent>
|
||||||
</Popover>
|
</Popover>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user