From 779e67a300cde868099d3f3223596db08d042c72 Mon Sep 17 00:00:00 2001 From: Bruno Bernardino Date: Thu, 3 Aug 2023 16:21:32 +0100 Subject: [PATCH] Hide auto-complete when adding expense --- public/ts/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/public/ts/index.ts b/public/ts/index.ts index 7351266..eb2d351 100644 --- a/public/ts/index.ts +++ b/public/ts/index.ts @@ -378,6 +378,7 @@ document.addEventListener('app-loaded', async () => { addExpenseButton.textContent = 'Adding...'; isAddingExpense = true; window.app.showLoading(); + hideAutocompleteSuggestions(); const cost = Number.parseFloat(expenseCostInput.value.replace(',', '.')); const description = expenseDescriptionInput.value;