From 2dbde6304355a7c72122792fe9a40e5ef8589ab4 Mon Sep 17 00:00:00 2001 From: Gregor Vostrak Date: Wed, 25 Sep 2024 14:51:25 +0200 Subject: [PATCH] clear client name input on client create submit, fixes #189 --- resources/js/Components/Common/Client/ClientCreateModal.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/js/Components/Common/Client/ClientCreateModal.vue b/resources/js/Components/Common/Client/ClientCreateModal.vue index 01456f43..a5fed46e 100644 --- a/resources/js/Components/Common/Client/ClientCreateModal.vue +++ b/resources/js/Components/Common/Client/ClientCreateModal.vue @@ -19,6 +19,7 @@ const client = ref({ async function submit() { await createClient(client.value); + client.value.name = ''; show.value = false; }