diff --git a/src/runtime/components/CommandPalette.vue b/src/runtime/components/CommandPalette.vue index 7d5a0f4b9c..bba80e1cb9 100644 --- a/src/runtime/components/CommandPalette.vue +++ b/src/runtime/components/CommandPalette.vue @@ -68,6 +68,11 @@ export interface CommandPaletteProps extends Pick>(), { modelValue: '', placeholder: 'Type a command or search...', - labelKey: 'label' + labelKey: 'label', + autofocus: true }) const emits = defineEmits>() const slots = defineSlots>() @@ -239,7 +245,7 @@ const groups = computed(() => {