-
Notifications
You must be signed in to change notification settings - Fork 379
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
React MUI : Allow the translation of enum value used for elementLabelProp #2288
Comments
Hi @Maxouwell , |
Hi @lucas-koehler ! As a side question, what would be the best way to check with you if something is a bug or not ? |
Hi @Maxouwell , |
Thanks @sdirix for your help on theses PR ! |
Describe the bug
At the moment, when an enum field is used in a
elementLabelProp
option, the raw enum value is used, without allowing to translate it via the translate function.Expected behavior
The value should be sent to the translate function for customizing.
Steps to reproduce the issue
Create a JsonForms with :
Json Schema
UI Schema :
Data :
Screenshots
No response
Which Version of JSON Forms are you using?
v.3.2.1
Framework
React
RendererSet
Material
Additional context
I think an old bug was repurposed to highlight this behavior but I can't find it anymore.
The text was updated successfully, but these errors were encountered: