-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Best Practice] Possible form rendering change #4402
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
Comments
+1. I think the pros outlined in the linked comment far outway the cons. |
👍 |
1 similar comment
👍 |
👍, obviously :) |
@weaverryan before making any decision, please keep in mind that your proposed DX improvements for this feature are going to be rejected. Moreover, any improvement related to this will be postponed until 3.0. |
… of <form (weaverryan, WouterJ) This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #4465). Discussion ---------- Modifying the best practice to use form_start() instead of <form | Q | A | --- | --- | Doc fix? | no | New docs? | no | Applies to | 2.3+ | Fixed tickets | #4402 Hi guys! See #4402. This proposes recommending to use `form_start` for the reasons there. There are pros and cons, but after nice chat, I think the pros outweigh the cons. /cc @webmozart Thanks! Commits ------- ae3b3cd Fixed typo f1708f5 Modifying the best practice to use form_start() instead of <form
Hi guys!
See symfony/symfony#12333 (comment).
Basically, I think we should consider updating the best practice to use
form_start
andform_end
. While I think rendering<form
manually is "simpler" in some ways, it's also error-prone (getting out of sync with the method you setup in your form, forgetting the enctype).What do others think?
The text was updated successfully, but these errors were encountered: