From 1ffe483e70fcb344d69874f8dc3e6f1fd2df6343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20T=C3=A4kker?= Date: Tue, 6 Oct 2026 03:00:22 +0200 Subject: [PATCH] Use themed search clear button --- app/ui/Input.vue | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/app/ui/Input.vue b/app/ui/Input.vue index 4f19b42..ab25a17 100644 --- a/app/ui/Input.vue +++ b/app/ui/Input.vue @@ -45,6 +45,11 @@ const onFileChange = (e: Event) => { const onTextInput = (e: Event) => { emit("input", (e.currentTarget as HTMLInputElement | HTMLTextAreaElement).value) } + +const clearSearch = () => { + value.value = "" + emit("input", "") +}