Skip to content

[LiveComponent] Broken forms after #1218 #1452

Closed
@akyoscommunication

Description

@akyoscommunication

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.

Capture d’écran 2024-02-02 à 14 43 16

Capture d’écran 2024-02-02 à 14 44 38

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions