mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix choice deprecation with choices_as_values
This commit is contained in:
parent
94d446f5d4
commit
df1c8178ec
@ -29,7 +29,6 @@ class ChoiceWithOtherType extends AbstractType
|
||||
$options['expanded'] = true;
|
||||
// adding a default value for choice
|
||||
$options['empty_data'] = null;
|
||||
$options['choices_as_values'] = true;
|
||||
|
||||
$builder
|
||||
->add('_other', TextType::class, array('required' => false))
|
||||
|
Loading…
x
Reference in New Issue
Block a user