-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Leverage SourceContext in fields #9620
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see a regression in the TranslatableFields storybook: labels are no longer translated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
packages/ra-ui-materialui/src/field/TranslatableFieldsTabContent.tsx
Outdated
Show resolved
Hide resolved
packages/ra-ui-materialui/src/field/TranslatableFieldsTabContent.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Jean-Baptiste Kaiser <jb@marmelab.com>
Co-authored-by: Jean-Baptiste Kaiser <jb@marmelab.com>
Still missing a section in the upgrade guide for custom fields |
SourceContext
forTranslatableFields
useFieldValue
to get a record valueuseFieldValue