Skip to content
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

[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 opened this issue Nov 10, 2024 · 0 comments
Labels

Comments

@yyaremenko
Copy link
Contributor

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.

@carsonbot carsonbot added the Form label Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants