From 351459681ce050d209591e136539df13a2849440 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Wed, 9 Feb 2022 10:55:12 -0800 Subject: [PATCH] IO-1637 Tax rates randomly not pulling. --- .../bill-enter-modal/bill-enter-modal.container.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/src/components/bill-enter-modal/bill-enter-modal.container.jsx b/client/src/components/bill-enter-modal/bill-enter-modal.container.jsx index 0ef98325a..6c0eeaa60 100644 --- a/client/src/components/bill-enter-modal/bill-enter-modal.container.jsx +++ b/client/src/components/bill-enter-modal/bill-enter-modal.container.jsx @@ -216,7 +216,11 @@ function BillEnterModalContainer({ if (enterAgain) { form.resetFields(); - form.setFieldsValue({ ...form.getFieldsValue(), billlines: [] }); + form.resetFields(); + form.setFieldsValue({ + ...formValues, + billlines: [], + }); } else { toggleModalVisible(); }