chore: check emptyValuesFilling while rendering

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

View File

@@ -111,13 +111,15 @@ 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?'
} }
/> />
<TextFieldWithDesc {!values.emptyValuesFilling && (
value={values.customFiller} <TextFieldWithDesc
onOwnChange={(val) => updateField('customFiller', val)} value={values.customFiller}
description={ onOwnChange={(val) => updateField('customFiller', val)}
'Use this custom value to fill in missing fields. (Works only with "Custom Values" mode above.)' description={
} 'Use this custom value to fill in missing fields. (Works only with "Custom Values" mode above.)'
/> }
/>
)}
</Box> </Box>
) )
}, },