{draftValues.map((row) => {
const {type} = row.column;
const typeDescription = getColumnTypeDescription(type);
const isStringType = SPLIT_POINT_STRING_TYPES.has(type);
const showDefinedToggle = !isColumnValueMustBeDefined(row.column);
const invalid = Boolean(touched[row.id]) && isRowInvalid(row);
const errorMessage = invalid ? i18n('error_value-invalid') : undefined;
const typeText = `(${type})`;
const typeLabel = typeDescription ? (
{typeText}
) : (
{typeText}
);
return (
{row.column.name}
{typeLabel}
{row.column.notNull ? (
) : null}
{showDefinedToggle ? (
handleToggleDefined(row.id, checked)
}
/>
) : null}
);
})}