I have a vue page that allows the user to search through the products available on the marketplace.
The search inputs data will be watched and if the value has changed, a manual visit will be performed to get the search results based on the input.
On each update the results are fetched and the list is updated, but unfortunately I'm losing the focus on the input.
Did I do anything wrong? Help will be pretty much appreciated!
Version:
@inertiajs/vue3
version: 1.0.14inertiajs/inertia-laravel
version: 0.6.11laravel/framework
version: 10.31Describe the problem:
I have a vue page that allows the user to search through the products available on the marketplace. The search inputs data will be watched and if the value has changed, a manual visit will be performed to get the search results based on the input.
On each update the results are fetched and the list is updated, but unfortunately I'm losing the focus on the input. Did I do anything wrong? Help will be pretty much appreciated!
Steps to reproduce:
This is the vue part:
And here's my controller action: