From c8eccebdacd5a39687a43fbf4af471a699c2713d Mon Sep 17 00:00:00 2001 From: Hope Tambala Date: Fri, 23 Oct 2020 16:21:12 -0400 Subject: [PATCH] fix: location being parsed from formik Fiekd --- components/FormikFields/PaperInputPicker/index.js | 3 +-- domains/DataCollection/Forms/IdentificationForm/index.js | 6 +++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/components/FormikFields/PaperInputPicker/index.js b/components/FormikFields/PaperInputPicker/index.js index f11590ffa..2b66d2c65 100644 --- a/components/FormikFields/PaperInputPicker/index.js +++ b/components/FormikFields/PaperInputPicker/index.js @@ -31,7 +31,6 @@ const PaperInputPicker = ({ setFieldValue('location', { latitude, longitude, altitude }); setLocation({ latitude, longitude, altitude }); - return null; }; return ( @@ -72,7 +71,7 @@ const PaperInputPicker = ({ {label} {data.options.map((result) => ( - + {/* selected value */} {result.value === values[formikKey] && (