-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Error in The Form Component #7242
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
We indeed need to update the example. Thank you for reporting it @topwebstudio! However, I wonder why you get the exception and do not see a deprecation being triggered here: https://github.com/symfony/symfony/blob/3.2/src/Symfony/Bridge/Twig/Extension/FormExtension.php#L35 |
I followed the guide for the Form component outside Symfony scope (as a standalone). |
This PR was merged into the 3.2 branch. Discussion ---------- [TwigBridge] fix constructor args check | Q | A | ------------- | --- | Branch? | 3.2 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | symfony/symfony-docs#7242 | License | MIT | Doc PR | Commits ------- fa82588 [TwigBridge] fix constructor args check
@topwebstudio Indeed, I was able to reproduce your initial issue (see the related PR symfony/symfony#20882 which will lead to the expected deprecation instead of the exception). Nonetheless, we still need to update the documentation. So thanks again for reporting the issue! :) |
I don't know if this is related to Form Component documentation errors above, but when following the official documentation I'm running into new error:
I've made pretty minimalistic example to display this error: |
@topwebstudio Can you report this as a bug in the code repository? |
Here is the bug report link |
https://symfony.com/doc/master/components/form.html
This line throws an error.
The text was updated successfully, but these errors were encountered: