mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +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:
parent
97475ca3b6
commit
f18b384a06
@ -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(
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user