Hey, I have a search dropdown which when I press submit (to submit the form), triggers a search function via a Livewire controller and returns the results without reloading the page.
As the dropdown is a Livewire component, pressing submit reloads the component, and if the user opens the dropdown again, the previously entered data is gone.
How can I keep it so the user’s form input is saved after the component refreshes?