Are there examples of autocomplete with InputBase?
Before that I used @ material-ui / core 4.6.0 "and @ material-ui / lab 4.0.0-alpha.31", and it worked fine, but after I updated it to mui core 4.6.1 and mui lab 4.0 .0-alpha.32, uses autocomplete with InputBase so it doesn't work at all. Please help
| Tech | Version |
| ----------- | ------- |
| Material-UI | v4.6.1 |
| React | v16.11.0 |
| material-ui/lab | v4.0.0-alpha.32 |
@setyawanandik Thanks for the feedback, I have added this breaking change in the release description https://github.com/mui-org/material-ui/releases/tag/v4.6.1.
Keep in mind that the lab is in a never-ending alpha state, we might release breaking changes between two versions if it's required to improve the component.
<TextField
renderInput={params => (
<InputBase
- ref={params.ref}
+ ref={params.InputProps.ref}
inputProps={params.inputProps}
/>
)}
/>
Most helpful comment