I am referring to the documentation of React Material-UI (https://material-ui.com/components/autocomplete/).
In the demo code,
Solved by using passing in the (event, value) to the onChange props.
(event, value)
onChange
console.log(value)} // prints the selected value renderInput={params => ( )} />