Selecting an option in autocomplete material ui in react js

For an example, in page1 we need to click button and such that we need to go to page2 with selecting some appropriate option in autocomplete material ui and such that onchange function should trigger .

Please help me with the issue