diff --git a/src/Components/Facility/Investigations/Table.tsx b/src/Components/Facility/Investigations/Table.tsx index ce14b042938..525949f8470 100644 --- a/src/Components/Facility/Investigations/Table.tsx +++ b/src/Components/Facility/Investigations/Table.tsx @@ -10,7 +10,7 @@ const TestRow = ({ data, value, onChange, i }: any) => { {data.name} - + {data.investigation_type === "Choice" ? ( { optionLabel={(o: string) => o} optionValue={(o: string) => o} onChange={onChange} + errorClassName="hidden" /> ) : ( { }; return ( -
+
{title &&

{title}

}
{ onChange={(e) => setSearchFilter(e.value)} />
-
+
@@ -99,7 +100,10 @@ export const TestTable = ({ title, data, state, dispatch }: any) => { data={t} i={i} key={t.external_id} - value={state[t.external_id] && state[t.external_id].value} + value={ + state[t.external_id] && + (state[t.external_id].value ?? state[t.external_id].notes) + } onChange={(e: FieldChangeEvent) => handleValueChange( t.investigation_type === "Float"