I have a page that allows people to choose a country and then search for a street address in that country, it is very similar to this example from Google. However (and you will notice that it happens in the example as well) if you start typing something such as "new" while U.S.A is selected and then switch to another country, when you click back on the input field the old country results will show up.
Is there a way to clear or reload the results based on the new parameter? I tried searching the API docs but I couldn't find anything.
Edit for clarification: I am able to do everything correctly, the issue I am having is when changing the country when you click back on the input field the old results show up. If you make a modification to the text in the input the results will refresh. It is just the initial click back to the input field which shows the old results that I am concerned with.
Original search
Switch to New Zealand
Delete the "w" so the results refresh