darrenjennings / vue-autosuggest

🔍 Vue autosuggest component.
https://darrenjennings.github.io/vue-autosuggest
MIT License
621 stars 91 forks source link

back navigation does not restore previous value #238

Open oppianmatt opened 8 months ago

oppianmatt commented 8 months ago

When I navigate back with the back button, the input does not show the previous value.

Here I have a normal input vs a vue-autosuggest. I first started with Wales, then did Spain. Did a browser back navigation and can see the normal input changed back to wales but the vue-autosuggest stayed on the current value.

It needs to change back as it represents the search results on the page

image