Replies: 4 comments 1 reply
-
Can you show your controller code? |
Beta Was this translation helpful? Give feedback.
-
Also, it might be worth reviewing how we do this in Ping CRM: |
Beta Was this translation helpful? Give feedback.
-
For me it feels like that the updating of |
Beta Was this translation helpful? Give feedback.
-
So, I just tried both the Keep in mind that when you use use Illuminate\Support\Facades\Validator;
Validator::make($request->all(), [ 'foo' => ['required', 'max:255'] ])->validate(); |
Beta Was this translation helpful? Give feedback.
-
Hello again,
today I got a new problem according to file uploads with inertiajs and laravel. I've implemented a validation rule that checks if the maximum file size is exceeded or not. When I use
I get this response:
But the $page.props.errors Object is always empty.
Before I updated all dependencies (laravel / inertia) to it's latest version it worked.
#Edit: The only form where validation works is on login and forgot password page.
package.json
composer.json
Can someone help and lead me to the right way?
Regards,
Jason
Beta Was this translation helpful? Give feedback.
All reactions