The second clear button shows only on Chromium; it doesn't show on Firefox.
Example of a MUI React Autocomplete component showing two clear buttons.
All the solutions mentioned here hide only the right most button, not the one on the left.
How do I hide the one on the left?
This seems to happen only when type: 'search'
is added to InputProps
Minimal, reproducible example on Chromium Version 110.0.5481.100:
<Autocomplete
disablePortal
disableClearable
id="combo-box-demo"
options={supported_games}
sx={{ width: 300 }}
renderInput={(params) => <TextField {...params} label="Movie" InputProps={{ ...params.InputProps, type: 'search'}} />}
/>