From eadea3e680b9f51fc68d954968cbd457cf338472 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Mon, 13 Nov 2023 16:44:03 +0530 Subject: [PATCH] chore: change only if value is there --- frontend/src/pages/Contact.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/Contact.vue b/frontend/src/pages/Contact.vue index 38ae93ae..90809bfa 100644 --- a/frontend/src/pages/Contact.vue +++ b/frontend/src/pages/Contact.vue @@ -134,7 +134,7 @@ type="autocomplete" :value="contact[field.name]" :options="field.options" - @change="(e) => field.change(e)" + @change="(e) => e && field.change(e)" :placeholder="field.placeholder" class="form-control" />