Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// https://aka.ms/devcontainer.json
{
"name": "PrimeVue Inertia",
"name": "Laravel PrimeVue Starter",
"dockerComposeFile": [
"../docker-compose.local.yml"
],
Expand Down
7 changes: 7 additions & 0 deletions app/Http/Middleware/HandleInertiaRequests.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ class HandleInertiaRequests extends Middleware
*/
protected $rootView = 'app';

/**
* Receive all validation errors for each field, instead of only the first one
*
* @see https://inertiajs.com/docs/v2/the-basics/validation#multiple-errors-per-field
*/
protected $withAllErrors = true;

/**
* Determines the current asset version.
*
Expand Down
Loading