From d0136962b9a23c50febaa427a4a3851817b0d29a Mon Sep 17 00:00:00 2001 From: Corentin THOMASSET Date: Tue, 31 Oct 2023 20:27:21 +0100 Subject: [PATCH] feat(command-palette): clear prompt on palette close (#708) --- src/modules/command-palette/command-palette.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/command-palette/command-palette.vue b/src/modules/command-palette/command-palette.vue index 12ad5fbb..7531aac0 100644 --- a/src/modules/command-palette/command-palette.vue +++ b/src/modules/command-palette/command-palette.vue @@ -37,6 +37,7 @@ function open() { function close() { isModalOpen.value = false; + searchPrompt.value = ''; } const selectedOptionIndex = ref(0);