The old
function retrieves an old input value flashed into the session:
$value = old('value');
https://laravel.com/docs/8.x/helpers#method-old
How is this supposed to work in livewire? Say I have following method:
public function save(): void
{
$this->validate();
$this->entity->save();
}
If I examine the session in the debugbar, there are no form values being flashed when validation fails.