File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -82,15 +82,18 @@ public function buildForm(FormBuilder $builder, array $options)
8282 $ builder
8383 ->add ('choices_with_translation_domain ' , 'choice ' , array (
8484 'choices ' => array ('form.choices_with_translation_domain.label ' => 'form.choices_with_translation_domain.value ' ),
85- 'choice_translation_domain ' => 'choice-domain '
85+ 'choice_translation_domain ' => 'choice-domain ' ,
86+ 'choices_as_values ' => true ,
8687 ))
8788 ->add ('choices_without_translation ' , 'choice ' , array (
8889 'choices ' => array ('form.choices_without_translation.label ' => 'form.choices_without_translation.value ' ),
8990 'choice_translation_domain ' => false ,
91+ 'choices_as_values ' => true ,
9092 ))
9193 ->add ('untranslatable_label ' , 'text ' , array (
9294 'label ' => 'form.untranslatable_label.label ' ,
9395 'translation_domain ' => false ,
96+ 'choices_as_values ' => true ,
9497 ))
9598 ;
9699 }
You can’t perform that action at this time.
0 commit comments