Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion reference/forms/types/choice.rst
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ choice is selected or not. If you need to get the full list of choices data and
values, use the ``choices`` variable from the parent form of the choice entry
(which is the ``ChoiceType`` itself) with ``form.parent.vars.choices``::

.. code-block:: html+twig
.. code-block:: twig

{# `true` or `false`, whether the current choice is selected as radio or checkbox #}
{{ form.vars.data }}
Expand Down