Skip to content

Commit

Permalink
Hide auto-complete when adding expense
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoBernardino committed Aug 3, 2023
1 parent bc5f2c4 commit 779e67a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 779e67a

Please sign in to comment.