From 82a0fa76efc16704cb0ccc2b5adc7dde3a65ac84 Mon Sep 17 00:00:00 2001 From: Asmir Mustafic Date: Thu, 21 Sep 2023 11:16:12 +0200 Subject: [PATCH] Update recipe_icheck.rst --- docs/cookbook/recipe_icheck.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cookbook/recipe_icheck.rst b/docs/cookbook/recipe_icheck.rst index c00147cbb5..a293a40906 100644 --- a/docs/cookbook/recipe_icheck.rst +++ b/docs/cookbook/recipe_icheck.rst @@ -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::