From 555e50689a3df26a5988d80525eb7b5ea3152ccf Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Tue, 25 Jul 2023 15:41:26 -0500 Subject: [PATCH] CE-551 Fix initialValue for possible values to do validation right --- src/qqq/components/forms/EntityForm.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/qqq/components/forms/EntityForm.tsx b/src/qqq/components/forms/EntityForm.tsx index 9d1761a..ffc4853 100644 --- a/src/qqq/components/forms/EntityForm.tsx +++ b/src/qqq/components/forms/EntityForm.tsx @@ -252,7 +252,6 @@ function EntityForm(props: Props): JSX.Element if (results && results.length > 0) { defaultDisplayValues.set(fieldName, results[0].label); - initialValues[fieldName] = {id: defaultValue, value: results[0].label} } } }