From f18b384a0694435b4179cb59d70ddc70a1e8508f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 30 Nov 2015 22:33:15 +0100 Subject: [PATCH] remove 'empty_data' which cause conflict with transformer this blocked the possibility to uncheck the 'active' field on the choice. --- Form/Type/ChoicesListType.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Form/Type/ChoicesListType.php b/Form/Type/ChoicesListType.php index 7cd3c4c3d..120559920 100644 --- a/Form/Type/ChoicesListType.php +++ b/Form/Type/ChoicesListType.php @@ -25,8 +25,7 @@ class ChoicesListType extends AbstractType $builder->add('name', 'translatable_string') ->add('active', 'checkbox', array( - 'required' => false, - 'empty_data' => true + 'required' => false )) ->add('slug', 'hidden', array(