File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
src/Symfony/Component/Form/Tests Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -1495,7 +1495,6 @@ public function testCustomChoiceTypeDoesNotInheritChoiceLabels()
1495
1495
'1 ' => '1 ' ,
1496
1496
'2 ' => '2 ' ,
1497
1497
),
1498
- 'choices_as_values ' => true ,
1499
1498
)
1500
1499
);
1501
1500
$ builder ->add ('subChoice ' , 'Symfony\Component\Form\Tests\Fixtures\ChoiceSubType ' );
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class ChoiceSubType extends AbstractType
24
24
*/
25
25
public function configureOptions (OptionsResolver $ resolver )
26
26
{
27
- $ resolver ->setDefaults (array ('expanded ' => true , ' choices_as_values ' => true ));
27
+ $ resolver ->setDefaults (array ('expanded ' => true ));
28
28
$ resolver ->setNormalizer ('choices ' , function () {
29
29
return array (
30
30
'attr1 ' => 'Attribute 1 ' ,
You can’t perform that action at this time.
0 commit comments