jsonforms
jsonforms copied to clipboard
Allow the translation of enum value used for elementLabelProp in ExpandPanelRenderer
PR for #2288
Deploy Preview for jsonforms-examples ready!
| Name | Link |
|---|---|
| Latest commit | 4284d6e63209acb801f110771219171cf1ebf7e4 |
| Latest deploy log | https://app.netlify.com/sites/jsonforms-examples/deploys/66212991139e7e00088d46ed |
| Deploy Preview | https://deploy-preview-2289--jsonforms-examples.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
coverage: 83.269% (-1.6%) from 84.881% when pulling 4284d6e63209acb801f110771219171cf1ebf7e4 on Maxouwell:fix/material-array-layout-translated-enum-label-prop into 24f4e5f6280263a4b8e1263aa2a302613b546272 on eclipsesource:master.
Resolved the conflicts, rebased and squashed
You were right, the previous code had problems on translation key, and on elementLabelProp on deeper path.
I fixed it and added some tests for the deep cases.
I just saw that the same behaviour exist in ListWithDetail, and that the solution don't support if elementLabelProp point to an enum array (or oneOf array if it's a thing).
I propose we finish this PR and I will open others PRs for these other ones.
Update: I will re-review this PR again this week