mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-03 21:34:59 +00:00
fix choice deprecation with choices_as_values
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user