-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Document the new choice list customization options #5179
Copy link
Copy link
Closed
Labels
FormactionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.
Milestone
Description
see symfony/symfony#14050 for more details and https://github.com/symfony/symfony/blob/2.7/src/Symfony/Component/Form/CHANGELOG.md and https://github.com/symfony/symfony/blob/2.7/UPGRADE-2.7.md#form
- A)
choice_listwas deprecated, replaced withchoices_as_valuesorchoice_loader - B) From
UPGRADE-2.7.md: You should flip the keys and values of the "choices" option in ChoiceType and set the "choices_as_values" option to true. The default value of that option will be switched to true in Symfony 3.0. (I'm not sure what this actually means). There is also some newchoice_valueoption - not sure how it relates. - C)
ChoiceListInterfacenamespace changed - D)
ChoiceViewnamespace changed AND order of arguments changed - E)
ChoiceListwas deprecated in favor ofDefaultChoiceListFactory - F)
propertyoption ofDoctrineTypeis nowchoice_label - G)
EntityChoiceListwas deprecated, now useDoctrineChoiceLoader
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
FormactionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.