-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Form] Added a "choice_filter" option to ChoiceType #35733
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
[Form] Added a "choice_filter" option to ChoiceType #35733
Conversation
5c927c9
to
df56a76
Compare
3812a56
to
93dac3e
Compare
Rebased on master, added some more tests and the documentation PR. Ready from my side. |
c296699
to
6feee70
Compare
src/Symfony/Component/Form/ChoiceList/Factory/CachingFactoryDecorator.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Form/ChoiceList/Factory/ChoiceListFactoryInterface.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Form/ChoiceList/Factory/DefaultChoiceListFactory.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Form/ChoiceList/Factory/PropertyAccessDecorator.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Form/ChoiceList/Factory/PropertyAccessDecorator.php
Outdated
Show resolved
Hide resolved
e86ba3d
to
37ffbc4
Compare
002af90
to
2c172ca
Compare
Thanks for the review, addressed everything. Added even more tests and fixed one from #30994 with some missing annotations as well. |
I've added a new commit a54f389 which has two benefits:
|
8db187f
to
a54f389
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.
(with minor comments)
src/Symfony/Component/Form/ChoiceList/Factory/CachingFactoryDecorator.php
Outdated
Show resolved
Hide resolved
6e515e5
to
f487c6c
Compare
src/Symfony/Component/Form/ChoiceList/Factory/PropertyAccessDecorator.php
Outdated
Show resolved
Hide resolved
2a76f52
to
fbc06f0
Compare
src/Symfony/Component/Form/ChoiceList/Factory/DefaultChoiceListFactory.php
Outdated
Show resolved
Hide resolved
fbc06f0
to
72c2a26
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.
Thank you so much for working back on this long-time requested feature
64f6fcc
to
19dc45b
Compare
19dc45b
to
ed2c312
Compare
Thank you @HeahDude. |
This PR was merged into the master branch. Discussion ---------- [Form] added the "choice_filter" option Documentation for symfony/symfony#35733. Based on #13182 for now, so better be reviewed by commit here until it's merged and rebased, thanks! Commits ------- 8b0c09e [Form] added the "choice_filter" option
Finally opening this PR for a very old branch, based on both #34550 (merged) and #30994 (merged).
Until #30994 is merged, this PR should better be reviewed by commits. Thanks!