I'm using an autocomplete inside the MUI DataGrid in edit mode, but due to TextField it renders additional borders.
<Autocomplete
multiple
freeSolo
value={value || []}
onChange={(event, newValue) => {
api.setEditCellValue({ id, field, value: newValue }, event);
}}
options={['aaa', 'bbb']}
renderInput={(params) => <TextField {...params} />}
fullWidth
/>
What I'm doing when there is no Autocomplete is to use a InputBase instead, but here I tried multiple attempts with renderInput property, the input displays but the logic of selected items as chips does not exist (which in a way can make sense since it's a raw input).
Do you know a proper way to reuse all the TextField logic, but without the wrapping element MuiFormControl?
(in the meantime I will patch the CSS to make like more proper)
Thank you,