【发布时间】:2021-02-18 19:14:12
【问题描述】:
如何调整TextField的标签,在Material UI中选择一个项目后出现灰色背景色?
请检查此代码框 CLICK HERE
<TextField
variant="outlined"
label="Choose"
style={{
background: "#fff"
}}
InputProps={{
className: classes.input
}}
fullWidth
select
>
{results.map((result, index) => (
<MenuItem key={index} value={result.id}>
{result.likes}
</MenuItem>
))}
</TextField>
【问题讨论】:
-
我不确定您在这里要求什么。你能澄清一下问题吗?
-
@ZacharyHaber。刚加了两张图。我想调整标签并去除灰色背景色
标签: css reactjs material-ui jss react-material