Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] Better document <ReferenceOneField emptyText> prop #9562

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

slax57
Copy link
Contributor

@slax57 slax57 commented Jan 5, 2024

No description provided.

@slax57 slax57 added the RFR Ready For Review label Jan 5, 2024
@@ -64,7 +64,7 @@ const BookShow = () => (
| `queryOptions` | Optional | [`UseQueryOptions`](https://tanstack.com/query/v3/docs/react/reference/useQuery) | `{}` | `react-query` client options |
| `sort` | Optional | `{ field: String, order: 'ASC' or 'DESC' }` | `{ field: 'id', order: 'ASC' }` | Used to order referenced records |

`<ReferenceOneField>` also accepts the [common field props](./Fields.md#common-field-props), except `emptyText` (use the child `empty` prop instead).
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was probably a bad copy paste from the ReferenceManyField doc

@djhi djhi added this to the 4.16.5 milestone Jan 5, 2024
@djhi djhi merged commit c019911 into master Jan 5, 2024
@djhi djhi deleted the doc-ReferenceOneField-emptyText branch January 5, 2024 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants