I am currently using Material-UI version 4 and have not upgraded to the latest mui v5.
I have experimented with various solutions, but so far none have been successful. My goal is simply to eliminate or hide the border around the textfield component.
<TextField
disabled={true}
variant="standard"
InputProps={{
style: { backgroundColor: '#d6eaf8', fontSize: '18px', color: 'black' },
underline: {
"&&&:before": {
borderBottom: "none"
},
"&&:after": {
borderBottom: "none"
}
}
}}
/>