remove 'empty_data' which cause conflict with transformer

this blocked the possibility to uncheck the 'active' field on the
choice.
This commit is contained in:
Julien Fastré 2015-11-30 22:33:15 +01:00
parent 97475ca3b6
commit f18b384a06

View File

@ -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(