Skip to content

Commit ec279d9

Browse files
Fix label prop on PolarisAutoHasOneInput
1 parent db47e57 commit ec279d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/src/auto/polaris/inputs/relationships/PolarisAutoHasOneInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const PolarisAutoHasOneInput = autoInput((props: AutoRelationshipInputPro
3535
<Combobox.TextField
3636
onChange={search.set}
3737
value={search.value}
38-
label={metadata.name}
38+
label={props.label ?? metadata.name}
3939
name={path}
4040
placeholder="Search"
4141
autoComplete="off"

0 commit comments

Comments
 (0)