mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 16:13:50 +00:00
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:
@@ -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(
|
||||
|
||||
|
Reference in New Issue
Block a user