Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.8k
---#34585
-
How come discussions can only be polls? What am I doing wrong? Anyway. https://stackoverflow.com/questions/73930237/is-there-an-output-version-of-the-textfield-input Using MUI v5.10.3 I need to display a few "output" fields, the user won't be editing the content of the field. I like the way the MUI TextField looks, but it's meant as an input widget, which means it has a few downsides:
I've build my own component out of a fieldset element and a Typography component. But the styling leaves a lot to be desired - it looks wonky on desktop and even worse on mobile. Is there an equivalent MUI component I can use, that looks similar to TextField but is meant for displaying data? I've looked through the MUI component doco, but didn't see anything that seemed to fit. |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 2 comments
-
Would a read-only Text Input solve your use case?https://mui.com/material-ui/react-text-field/#form-props |
BetaWas this translation helpful?Give feedback.
All reactions
-
I'm locking the conversation, this space is for polls. You can either open an issue if you believe it's a bug or a general discussion. You can also ask on StackOverflow. Thanks. |
BetaWas this translation helpful?Give feedback.