You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$choiceListNormalizer = function (Options$options, $choiceList) use ($choiceListFactory) {
272
288
if ($choiceList) {
273
289
@trigger_error('The "choice_list" option is deprecated since version 2.7 and will be removed in 3.0. Use "choice_loader" instead.', E_USER_DEPRECATED);
@@ -314,7 +330,7 @@ public function configureOptions(OptionsResolver $resolver)
314
330
};
315
331
316
332
$compound = function (Options$options) {
317
-
return'expanded' == $options['widget'];
333
+
return$options['expanded'];
318
334
};
319
335
320
336
$choiceTranslationDomainNormalizer = function (Options$options, $choiceTranslationDomain) {
@@ -326,7 +342,7 @@ public function configureOptions(OptionsResolver $resolver)
326
342
};
327
343
328
344
$resolver->setDefaults(array(
329
-
'widget' => $widget,
345
+
'widget' => null,
330
346
'multiple' => false,
331
347
'delimiter' => ',',
332
348
'expanded' => false, // deprecated
@@ -352,6 +368,8 @@ public function configureOptions(OptionsResolver $resolver)
0 commit comments