Skip to content

Commit 4ab91c2

Browse files
committed
[Doc] Fix incorrect ReferenceField syntax
1 parent 0e4ba98 commit 4ab91c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/DataProviders.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ const PostList = () => (
418418
<Datagrid>
419419
<TextField source="title" />
420420
{/** renders without an additional request */}
421-
<ReferenceField source="author_id" />
421+
<ReferenceField source="author_id" reference="authors" />
422422
</Datagrid>
423423
</List>
424424
);

0 commit comments

Comments
 (0)