Merge pull request #2339 from automatisch/AUT-1416

feat: display option value only if it is a string
This commit is contained in:
Ali BARIN
2025-03-06 15:27:43 +01:00
committed by GitHub

View File

@@ -102,7 +102,7 @@ function ControlledAutocomplete(props) {
>
<Typography>{option.label}</Typography>
{showOptionValue && (
{showOptionValue && typeof option.value === 'string' && (
<Typography variant="caption">{option.value}</Typography>
)}
</li>