Skip to content

Commit 0bf8f0e

Browse files
committed
revert to fragment for displayed select value
1 parent 10a410e commit 0bf8f0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react/select/src/select.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ const SelectValue = React.forwardRef<SelectValueElement, SelectValueProps>(
387387
// through the item they came from
388388
style={{ pointerEvents: 'none' }}
389389
>
390-
{showPlaceholder ? placeholder : children}
390+
{showPlaceholder ? <>{placeholder}</> : children}
391391
</Primitive.span>
392392
);
393393
},

0 commit comments

Comments
 (0)