Passing style to inputProp={} inside an Material UI Autocomplete would create an "useAutocomplete.js:919 Uncaught TypeError: Cannot read property 'focus' of null" error. Here is the example code:
renderInput={params => (
<div>
<TextField
multiline={false}
classes={{
root: classes.textField
}}
{...params}
variant="outlined"
placeholder="Search"
inputProps={{ classes: { root: classes.text } }}
/>
</div>
)}
I do not really understand the Problem, are there any suggestions?