-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Form] Added article for custom choice fields #13490
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
Conversation
a9dccbf
to
6b7e871
Compare
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.
I like this a lot! I made some minor language tweaks directly (please review) and left 2 small comments.
b525b7a
to
e9ecb25
Compare
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.
Great! Thanks for writing this, I think it's a nice tip!
Please don't take the number of comments personally. Most are very very minor syntax related things.
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.
Please don't take the number of comments personally. Most are very very minor syntax related things.
@wouterj No problem thanks for the thorough review :).
e9ecb25
to
65a905b
Compare
f881ff0
to
e0771a6
Compare
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.
Very nice (and useful) article! Thanks for contributing it!
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.
some random notes
@@ -131,6 +65,14 @@ implement the ``getParent()`` method (Symfony will make the type extend from the | |||
generic :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\FormType`, | |||
which is the parent of all the other types). | |||
|
|||
.. note:: | |||
|
|||
The PHP class extension mechanism and the Symfony form field extension |
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.
The PHP class extension mechanism
I don't know what this is. Do you mean inheritance?
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.
I agree we should change that, but I propose to do it in #13488 which targets 3.4 instead. You're review is welcome there too :)
e0771a6
to
50c6867
Compare
This PR has been closed because the master has been removed. |
I propose to add a new page in the form section in master to fix both #6446 and #13120.