Skip to content

[Form] By default a new project with --webappflag creates app with Turbo enabled which changes the work with Forms, but this is never mentioned in the docs. #20383

Open
@yyaremenko

Description

@yyaremenko

According to current documentation, a new web project should be created with --webapp flag. In addition to other bundles, Symfony UX Turbo is installed. No warning is given to a developer in the documentation regarding that this bundle affects the way the forms are processed in a controller:

Here is official documentation on forms processing which gives an example of a controller.

Here is how forms are processed with Symfony UX Turbo is enabled, which requires to alter a controller code.

This confuses a developer, who follows the official docs on Forms and does not get a form working. A developer has to investigate why no changes take place after form is submitted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions