We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
'choices_as_values' => true,
1 parent 80ef319 commit 6871410Copy full SHA for 6871410
1 file changed
Form/WidgetImageType.php
@@ -55,6 +55,7 @@ public function buildForm(FormBuilderInterface $builder, array $options)
55
'widget_image.form.hover.choice.popover.label' => 'popover',
56
'widget_image.form.hover.choice.tooltip.label' => 'tooltip',
57
],
58
+ 'choices_as_values' => true,
59
'attr' => [
60
'data-refreshOnChange' => 'true',
61
@@ -99,6 +100,7 @@ protected function manageRelativeFields(FormInterface $form, $hover)
99
100
->add('placement', ChoiceType::class, [
101
'label' => 'widget_image.form.placement.label',
102
'choices' => $positionChoices,
103
104
]);
105
} elseif ($hover == 'tooltip') {
106
$form
@@ -109,6 +111,7 @@ protected function manageRelativeFields(FormInterface $form, $hover)
109
111
110
112
113
114
115
116
} else {
117
0 commit comments