symfony-docs icon indicating copy to clipboard operation
symfony-docs copied to clipboard

[Form] `renderForm()` method is deprecated

Open mdoutreluingne opened this issue 2 years ago • 3 comments

Fixes #16942

mdoutreluingne avatar Jul 07 '22 13:07 mdoutreluingne

Thank you @mdoutreluingne for that PR.

HeahDude avatar Jul 07 '22 13:07 HeahDude

Just checking: are we still waiting for some code changes before finishing this PR? Thanks!

javiereguiluz avatar Jul 22 '22 13:07 javiereguiluz

Yes, I'll ping when there will be an update :).

HeahDude avatar Jul 22 '22 13:07 HeahDude

Minor update: I've opened https://github.com/symfony/symfony/pull/47600, let's see how it goes.

HeahDude avatar Sep 16 '22 16:09 HeahDude

Thanks @mdoutreluingne for writing up the documentation for this change!

I've added some changes to your commit, to be more clear about the current situation and the differences between passing $form and $form->createView(). Unfortunately, GitHub does not correctly show the changes. You can view the new commit (which was merged) here: https://github.com/symfony/symfony-docs/commit/0c39faf0d78bf25afbaf424b4b19adc7f5ebf24c

wouterj avatar Sep 20 '22 12:09 wouterj