Sylius/SyliusResourceBundle

ResourceAutocompleteChoiceType: allow for closures in options

coldic3 opened this issue · 0 comments

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.