You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($this->ajax() || $this->wantsJson()) {
returnnewJsonResponse($errors, 422);
}
Pjax doesn't work with form requests as it is now. I think ValidatesRequest has the intended behaviour. Is there a reason for this, or can a pjax check be added to FormRequest too, to keep it consistent?
The text was updated successfully, but these errors were encountered:
In
Illuminate\Foundation\Validation\ValidatesRequest
:In
Illuminate\Foundation\Http\FormRequest
:Pjax doesn't work with form requests as it is now. I think
ValidatesRequest
has the intended behaviour. Is there a reason for this, or can apjax
check be added toFormRequest
too, to keep it consistent?The text was updated successfully, but these errors were encountered: