-
-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Route Model Binding Form Request Validation Error #44
Comments
I can't make work your example without JsValidation |
Ok, I found the error. |
Route Model Binding Form Request Validation Error #44
I the master branch this issue is resolved |
torrentalle you are a legend. I was looking through the source yesterday but couldn't figure out how to do it. In answer to your earlier question the UpdateMenuFormRequest FormRequest validation works as intended with the form model binding. |
Republish Javascript files after composer update to apply the patch
|
Excellent package, should be part of the Laravel core in my opinion, but there you go. However, I can't seem to get this to work using Route Model binding for edit form. I am using the Eloquent-Sluggable package in order to reference via slug rather than id:
https://github.com/cviebrock/eloquent-sluggable
Here is an example using Menu as an example:
app/Http/RouteServiceProvider.php
app/Http/Providers/UpdateMenuRequest.php
menus/edit.php
I get the following error:
Line 27 being...
Could you pleas advise me further?
The text was updated successfully, but these errors were encountered: