take the option from autocomplete reactjs code example
Example: how to get value from autocomplete material ui
console.log(value)} // prints the selected value
.....
renderInput={params => (
)}
/>
console.log(value)} // prints the selected value
.....
renderInput={params => (
)}
/>