Skip to content

Commit

Permalink
Merge pull request #5660 from vdimitroff/docs-fields-fix
Browse files Browse the repository at this point in the history
[Docs] - Edited ReferenceField params table - link type description
  • Loading branch information
djhi authored Dec 12, 2020
2 parents b5500f2 + 65bf0ab commit 69996c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ With this configuration, `<ReferenceField>` wraps the user's name in a link to t
| ----------- | -------- | ------------------- | -------- | ------------------------------------------------------------------------------------------------------------------- |
| `reference` | Required | `string` | - | The name of the resource for the referenced records, e.g. 'posts' |
| `children` | Required | `Element` | - | The Field element used to render the referenced record |
| `link` | Optional | `string` | 'edit' | Target of the link wrapping the rendered child |
| `link` | Optional | `string | Function` | 'edit' | Target of the link wrapping the rendered child |
| `sortBy` | Optional | `string | Function` | `source` | Name of the field to use for sorting when the user clicks on the column header. Set to `false` to disable the link. |

`<ReferenceField>` also accepts the [common field props](./Fields.md#common-field-props).
Expand Down

0 comments on commit 69996c2

Please sign in to comment.