feat: display option value only if it is a string

This commit is contained in:
kasia.oczkowska
2025-02-06 13:34:17 +00:00
parent 586348039d
commit 6b0f1e5011

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>