How do I customize the label of a TextField and prevent a grey background color from appearing after selecting an item in Material UI?
To view the solution, please visit this CodeSandbox link: CLICK HERE
Label Customization Issue: https://i.sstatic.net/1Nqbi.jpg
Grey Background Color Problem: https://i.sstatic.net/bIF3U.jpg
<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>