Skip to content

Commit 10ae938

Browse files
committed
Improve ReferenceInput
1 parent 01a1a94 commit 10ae938

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/ra-ui-materialui/src/input/ReferenceInput.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,11 @@ export const ReferenceInput = (props: ReferenceInputProps) => {
7979
{...rest}
8080
offline={
8181
offline ?? (
82-
<Labeled {...rest}>
82+
<Labeled
83+
source={rest.source}
84+
label={rest.label}
85+
resource={rest.resource}
86+
>
8387
<Offline />
8488
</Labeled>
8589
)

0 commit comments

Comments
 (0)