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
Using form in LiveComponent throws Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException after #1218
Throws error at LiveComponentSubscriber line 108:
if (!$request->isMethod('post')) {
throw new MethodNotAllowedHttpException(['POST']);
}
No change in code since last composer update, forms worked perfectly before. Didn't found yet why each form field change is sent using GET and not POST.
The text was updated successfully, but these errors were encountered:
Hey! If you're using Encore, have you done a yarn install --force or npm install --force? It may just be that your JS is still using the previous version, which sends GET requests.
Using form in LiveComponent throws Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException after #1218
Throws error at LiveComponentSubscriber line 108:
if (!$request->isMethod('post')) {
throw new MethodNotAllowedHttpException(['POST']);
}
No change in code since last composer update, forms worked perfectly before. Didn't found yet why each form field change is sent using GET and not POST.
The text was updated successfully, but these errors were encountered: