chore: check emptyValuesFilling while rendering

This commit is contained in:
Ibrahima G. Coulibaly 2025-03-28 20:47:52 +00:00
commit 7979025c6f

View file

@ -111,6 +111,7 @@ export default function CsvRowsToColumns({
'If the input CSV file is incomplete (missing values), then add empty fields or custom symbols to records to make a well-formed CSV?' 'If the input CSV file is incomplete (missing values), then add empty fields or custom symbols to records to make a well-formed CSV?'
} }
/> />
{!values.emptyValuesFilling && (
<TextFieldWithDesc <TextFieldWithDesc
value={values.customFiller} value={values.customFiller}
onOwnChange={(val) => updateField('customFiller', val)} onOwnChange={(val) => updateField('customFiller', val)}
@ -118,6 +119,7 @@ export default function CsvRowsToColumns({
'Use this custom value to fill in missing fields. (Works only with "Custom Values" mode above.)' 'Use this custom value to fill in missing fields. (Works only with "Custom Values" mode above.)'
} }
/> />
)}
</Box> </Box>
) )
}, },