2 years ago

Return search with Search values

Posted 2 years ago by jbowman99

I have a search bar with multiple inputs, when the page returns the view with the search results, how can I pass back the inputs that were searched for so the Search Fields remain populated?

currently i'm returning a view:

return view('listings', compact('listings');

i tried withInput() then grabbing the {{ old['input'] }} didn't work.

how can i return the search results and the input?

Please sign in or create an account to participate in this conversation.