Merge pull request #2339 from automatisch/AUT-1416
feat: display option value only if it is a string
This commit is contained in:
@@ -102,7 +102,7 @@ function ControlledAutocomplete(props) {
|
||||
>
|
||||
<Typography>{option.label}</Typography>
|
||||
|
||||
{showOptionValue && (
|
||||
{showOptionValue && typeof option.value === 'string' && (
|
||||
<Typography variant="caption">{option.value}</Typography>
|
||||
)}
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user