-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Form] form add extra data #20853
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
base: 6.4
Are you sure you want to change the base?
[Form] form add extra data #20853
Conversation
The |
You can use 6.4 as it's the oldest maintained branch. |
8803a0a
to
3a9cef5
Compare
3a9cef5
to
9fb25a4
Compare
9fb25a4
to
522e74c
Compare
We should probably also document that one needs to enable the |
|
||
All form fields are considered properties of the object but you can inject | ||
fields directly into your view without specifying them in the form definition. | ||
They can be retrieved via the ``getExtraData`` :class:`Symfony\\Component\\Form\\FormTypeInterface`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They can be retrieved via the ``getExtraData`` :class:`Symfony\\Component\\Form\\FormTypeInterface`. | |
They can be retrieved via the :method:`FormInterface::getExtraData() <Symfony\\Component\\Form\\FormInterface::getExtraData>` | |
method. |
No description provided.