You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`sortBy`| Optional | `string | Function` |`source`| Name of the field to use for sorting when used in a Datagrid |
84
84
85
85
`<ReferenceField>` also accepts the [common field props](./Fields.md#common-field-props).
@@ -146,10 +146,11 @@ You can also use a custom `link` function to get a custom path for the children.
146
146
147
147
## `queryOptions`
148
148
149
-
Use the `queryOptions` prop to pass options to the `dataProvider.getMany()` query that fetches the referenced record.
149
+
Use the `queryOptions` prop to pass options to [the `dataProvider.getMany()` query](http://0.0.0.0:4000/useGetOne.html#aggregating-getone-calls) that fetches the referenced record.
150
150
151
151
For instance, to pass [a custom `meta`](./Actions.md#meta-parameter):
152
152
153
+
{% raw %}
153
154
```jsx
154
155
<ReferenceField
155
156
source="user_id"
@@ -159,6 +160,7 @@ For instance, to pass [a custom `meta`](./Actions.md#meta-parameter):
0 commit comments