mirror of
https://github.com/strapi/strapi.git
synced 2025-08-12 18:53:23 +00:00
RelationInput: Fix Tooltip prop-type if IDs are rendered
This commit is contained in:
parent
3f2c6fb440
commit
685b3e11b0
@ -304,7 +304,7 @@ const RelationInput = ({
|
||||
style={style}
|
||||
>
|
||||
<BoxEllipsis minWidth={0} paddingTop={1} paddingBottom={1} paddingRight={4}>
|
||||
<Tooltip description={mainField ?? id}>
|
||||
<Tooltip description={mainField ?? `${id}`}>
|
||||
{href ? (
|
||||
<LinkEllipsis to={href} disabled={disabled}>
|
||||
{mainField ?? id}
|
||||
|
Loading…
x
Reference in New Issue
Block a user