mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-15 17:59:43 +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;
|
$options['expanded'] = true;
|
||||||
// adding a default value for choice
|
// adding a default value for choice
|
||||||
$options['empty_data'] = null;
|
$options['empty_data'] = null;
|
||||||
$options['choices_as_values'] = true;
|
|
||||||
|
|
||||||
$builder
|
$builder
|
||||||
->add('_other', TextType::class, array('required' => false))
|
->add('_other', TextType::class, array('required' => false))
|
||||||
|
Reference in New Issue
Block a user