You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commits
-------
9e3e589 Alter upgrade notes with changes to _form_is_choice_selected twig function
Discussion
----------
Undocumented BC break - choice field type template
The upgrade notes for the choice field template are out of date. They currently state:
```
The `choices` variable now contains `ChoiceView` objects with two getters,
getValue() and getLabel(), to access the choice data.
```
However these methods do not exist. I assume this is the result of a rollback to maintain BC?
In addition to this, the `_form_is_choice_selected` twig function has been removed and replaced with a filter called `selectedchoice`. This is an undocumented BC break. I have attached an update to the notes to reflect these changes.
---------------------------------------------------------------------------
by fabpot at 2012-08-15T17:20:35Z
ping @bschussek
---------------------------------------------------------------------------
by bschussek at 2012-08-16T17:36:22Z
Looks good apart from my comment. Thanks for fixing this!
0 commit comments