@@ -56,7 +56,7 @@ public function buildForm(FormBuilderInterface $builder, array $options)
5656 'widget_image.form.hover.choice.tooltip.label ' => 'tooltip ' ,
5757 ],
5858 'choices_as_values ' => true ,
59- 'attr ' => [
59+ 'attr ' => [
6060 'data-refreshOnChange ' => 'true ' ,
6161 ],
6262 ]);
@@ -98,8 +98,8 @@ protected function manageRelativeFields(FormInterface $form, $hover)
9898 'required ' => false ,
9999 ])
100100 ->add ('placement ' , ChoiceType::class, [
101- 'label ' => 'widget_image.form.placement.label ' ,
102- 'choices ' => $ positionChoices ,
101+ 'label ' => 'widget_image.form.placement.label ' ,
102+ 'choices ' => $ positionChoices ,
103103 'choices_as_values ' => true ,
104104 ]);
105105 } elseif ($ hover == 'tooltip ' ) {
@@ -109,8 +109,8 @@ protected function manageRelativeFields(FormInterface $form, $hover)
109109 'label ' => 'widget_image.form.title.tooltip.label ' ,
110110 ])
111111 ->add ('placement ' , ChoiceType::class, [
112- 'label ' => 'widget_image.form.placement.label ' ,
113- 'choices ' => $ positionChoices ,
112+ 'label ' => 'widget_image.form.placement.label ' ,
113+ 'choices ' => $ positionChoices ,
114114 'choices_as_values ' => true ,
115115 ]);
116116 } else {
0 commit comments