Method Livewire\Redirector::withInput does not exist
Hello All,
I have encountered a strange error and I am not sure how to handle it. I have a Laravel app and a page with a Livewire component. After updating an input field, I get the following error:
Method Livewire\Redirector::withInput does not exist
I am not attempting to use a redirect anywhere in my Livewire component. I have been able to avoid the error by removing the validation call $this->validate(), but I can't understand why that would stop this from happening. Also, I need to use that validation logic before processing the user's request.
Here are my rules:
protected $rules = [
'event' => 'required|string|min:1|max:100',
'organization' => 'required|string|min:1|max:100',
'address' => 'required|string|min:1|max:100',
'address_2' => 'nullable|string|min:1|max:100',
'city' => 'required|string|min:1|max:100',
'state' => 'required|string|min:1|max:100',
'zip' => 'required|string|min:1|max:100',
'date' => 'required|date_format:Y-m-d',
'time' => 'required|date_format:H:i:s',
'name' => 'required|string|min:1|max:100',
'email' => 'required|email',
'phone' => 'required|string|min:10|max:10',
'instructions' => 'nullable|string|max:255',
];
I am using the most recent Livewire release, 2.10.5. Any thoughts or advice would be greatly appreciated. Thank you.
Please or to participate in this conversation.