[CRUD] Show correct single-select values in "Show" UI#4876
Merged
apedroferreira merged 6 commits intomui:masterfrom Apr 25, 2025
apedroferreira:fix-show-single-select
Merged
[CRUD] Show correct single-select values in "Show" UI#4876apedroferreira merged 6 commits intomui:masterfrom apedroferreira:fix-show-single-select
apedroferreira merged 6 commits intomui:masterfrom
apedroferreira:fix-show-single-select
Conversation
Netlify deploy preview |
Collaborator
|
Should we add a demo in the CRUD docs to illustrate this behaviour? |
Collaborator
Author
I don't think so, it's just a different way to configure multi-select fields but it's the same as for the MUI X Data Grid. What we have in the demos is enough in my opinion. |
bharatkashyap
approved these changes
Apr 25, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #4806
Show proper
singleSelectfield value in CRUD "Show" UI when option values are provided as an object.Adds tests to cover these scenarios.
Unrelated fix included: stop sidebar headers text from ellipsizing when collapsing the sidebar to mini version. It's happening in the latest docs such as https://deploy-preview-4864--mui-toolpad-docs.netlify.app/toolpad/core/react-dashboard-layout/#demo