Open
Description
Volt Version
1.7.0
Laravel Version
12.14.1
PHP Version
8.3.6
Database Driver & Version
No response
Description
Using $validator->validate()
on a service cause the following error on blade:
Uncaught Snapshot missing on Livewire component with id: v8Azl0xMTGnP3s95KjPz
If I rewrite the code to
try {
$validator->validate();
} catch (ValidationException $e) {
Log::error('Validate() error: ' . $e->getMessage());
throw new \InvalidArgumentException('Validate() error: ' . $e->getMessage());
}
The program works fine.
Steps To Reproduce
Using $validator->validate()
on a service cause the following error on blade:
Uncaught Snapshot missing on Livewire component with id: v8Azl0xMTGnP3s95KjPz
If I rewrite the code to
try {
$validator->validate();
} catch (ValidationException $e) {
Log::error('Validate() error: ' . $e->getMessage());
throw new \InvalidArgumentException('Validate() error: ' . $e->getMessage());
}
The program works fine.
Metadata
Metadata
Assignees
Labels
No labels