Skip to content

Commit

Permalink
Update recipe_icheck.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
goetas authored Sep 21, 2023
1 parent 6f97843 commit 82a0fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cookbook/recipe_icheck.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ set data attribute ``data-sonata-icheck = "false"`` to this form element::

You have to use false as string! ``"false"``!

When using ``Sonata\AdminBundle\Form\Type\ChoiceFieldMaskType`` (or other types that inherit from it, such as )
When using ``Sonata\AdminBundle\Form\Type\ChoiceFieldMaskType`` (or other types that inherit from it)
with the ``expanded``: ``true`` option (that renders the form type with checkboxes or radio buttons),
it is necessary to set the ``data-sonata-icheck`` attribute on its choice elements::

Expand Down

0 comments on commit 82a0fa7

Please sign in to comment.