diff --git a/packages/@headlessui-vue/src/components/combobox/combobox.test.ts b/packages/@headlessui-vue/src/components/combobox/combobox.test.ts index 74375525ec..d0e5c93306 100644 --- a/packages/@headlessui-vue/src/components/combobox/combobox.test.ts +++ b/packages/@headlessui-vue/src/components/combobox/combobox.test.ts @@ -3476,7 +3476,7 @@ describe('Keyboard interactions', () => { let handleChange = jest.fn() renderTemplate({ template: html` - + Trigger diff --git a/packages/@headlessui-vue/src/components/combobox/combobox.ts b/packages/@headlessui-vue/src/components/combobox/combobox.ts index 4d87c15e00..8312b61d92 100644 --- a/packages/@headlessui-vue/src/components/combobox/combobox.ts +++ b/packages/@headlessui-vue/src/components/combobox/combobox.ts @@ -627,7 +627,7 @@ export let ComboboxInput = defineComponent({ case Keys.Backspace: case Keys.Delete: if (api.mode.value !== ValueMode.Single) return - if (!api.nullable) return + if (!api.nullable.value) return let input = event.currentTarget as HTMLInputElement requestAnimationFrame(() => {