Skip to content

Commit b01a156

Browse files
authored
Fix Symfony7 support for DateType (#404)
1 parent dd97900 commit b01a156

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dynamic/Types/DateType.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public function build(FormBuilderInterface $builder, FormField $field, string $l
4141
}
4242
$options['format'] = \IntlDateFormatter::LONG;
4343
$options['input'] = 'string';
44+
$options['widget'] = 'choice';
4445
$builder->add($field->getKey(), $type, $options);
4546
}
4647

0 commit comments

Comments
 (0)