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.
1 parent bcf251e commit eed70e6Copy full SHA for eed70e6
Resources/views/Form/choice_widget_collapsed.html.php
@@ -7,7 +7,7 @@
7
)) ?>
8
<?php if ($multiple): ?> multiple="multiple"<?php endif ?>
9
>
10
- <?php if (null !== $empty_value): ?><option value=""<?php if ($required and empty($value) && '0' !== $value): ?> selected="selected"<?php endif?>><?php echo '' != $empty_value ? $view->escape($view['translator']->trans($empty_value, array(), $translation_domain)) : '' ?></option><?php endif; ?>
+ <?php if (null !== $empty_value): ?><option value=""<?php if ($required && empty($value) && '0' !== $value): ?> selected="selected"<?php endif?>><?php echo '' != $empty_value ? $view->escape($view['translator']->trans($empty_value, array(), $translation_domain)) : '' ?></option><?php endif; ?>
11
<?php if (count($preferred_choices) > 0): ?>
12
<?php echo $view['form']->block($form, 'choice_widget_options', array('choices' => $preferred_choices)) ?>
13
<?php if (count($choices) > 0 && null !== $separator): ?>
0 commit comments