I have searched a lot but didn't find any solution. I have some select
box in my HTML form for which I need to keep the old values after redirecting back post input validations.
Here is my redirect code in controller
redirect()->back()->withInput()->withErrors($validator->messages());
I have tried using value={{old('somefieldname')}}
But it only works for inputs and textareas.
PS : I also need to set old
values in multiple="multiple"
select.
Any help will be really appreciated.