Skip to content
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

ResourceAutocompleteChoiceType: allow for closures in options #584

Open
coldic3 opened this issue Jan 31, 2023 · 0 comments
Open

ResourceAutocompleteChoiceType: allow for closures in options #584

coldic3 opened this issue Jan 31, 2023 · 0 comments
Labels
Feature New feature proposals.

Comments

@coldic3
Copy link

coldic3 commented Jan 31, 2023

Describe the proposed solution
ResourceAutocompleteChoiceType is copying the options from Symfony's ChoiceType. It does not include support for closures in options like choice_value, choice_name or choice_label which exists in ChoiceType. The idea is to add support for that type of parameters.

The issue was originally reported in Sylius/Sylius#9669.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature proposals.
Projects
None yet
Development

No branches or pull requests

1 participant