Merge branch 'fix_#12' into 'master'

remove 'empty_data' which cause conflict with transformer

this blocked the possibility to uncheck the 'active' field on the
choice.

Should fix chill-project/Chill-CustomFields#12

See merge request !3
This commit is contained in:
Julien Fastré 2015-12-01 10:30:57 +01:00
commit 6eb6117c14

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(