Skip to content

Collection of handy online tools for developers, with great UX.

feat(command-palette): clear prompt on palette close (#708)

Corentin THOMASSETd0136962b9a2
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);