--- #34585
Locked
ardc-shorn
announced in
Archive
---
#34585
Replies: 2 comments
-
Would a read-only Text Input solve your use case? https://mui.com/material-ui/react-text-field/#form-props |
Beta Was this translation helpful? Give feedback.
0 replies
-
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. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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.
Beta Was this translation helpful? Give feedback.
All reactions