From 2d0a7330f31cb663e427766f4636d48d6609a071 Mon Sep 17 00:00:00 2001 From: smilerz Date: Wed, 22 Dec 2021 10:19:15 -0600 Subject: [PATCH] reset new list item after create --- vue/src/apps/ShoppingListView/ShoppingListView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vue/src/apps/ShoppingListView/ShoppingListView.vue b/vue/src/apps/ShoppingListView/ShoppingListView.vue index 277a872dd..aad406807 100644 --- a/vue/src/apps/ShoppingListView/ShoppingListView.vue +++ b/vue/src/apps/ShoppingListView/ShoppingListView.vue @@ -746,7 +746,7 @@ export default { } else { console.log("no data returned") } - this.new_item = { amount: 1 } + this.new_item = { amount: 1, unit: undefined, food: undefined } }) .catch((err) => { console.log(err)