Skip to content

Commit

Permalink
[Doc] Fix incorrect ReferenceField syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Feb 5, 2025
1 parent 0e4ba98 commit 4ab91c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/DataProviders.md
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ const PostList = () => (
<Datagrid>
<TextField source="title" />
{/** renders without an additional request */}
<ReferenceField source="author_id" />
<ReferenceField source="author_id" reference="authors" />
</Datagrid>
</List>
);
Expand Down

0 comments on commit 4ab91c2

Please sign in to comment.