fix: fix Relation field form select labels display (#3081)

Fixes #3080
This commit is contained in:
Thaïs
2023-12-19 18:13:15 +01:00
committed by GitHub
parent 235b97fb56
commit 58f781b0a8

View File

@ -93,10 +93,10 @@ export const Select = <Value extends string | number | null>({
); );
return disabled ? ( return disabled ? (
<> <div>
{!!label && <StyledLabel>{label}</StyledLabel>} {!!label && <StyledLabel>{label}</StyledLabel>}
{selectControl} {selectControl}
</> </div>
) : ( ) : (
<DropdownScope dropdownScopeId={dropdownScopeId}> <DropdownScope dropdownScopeId={dropdownScopeId}>
<div className={className}> <div className={className}>