8000 fix for fabbot and update changelog · symfony/symfony@43635bb · GitHub
[go: up one dir, main page]

Skip to content

Commit 43635bb

Browse files
authored
fix for fabbot and update changelog
1 parent 61f6acf commit 43635bb

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

src/Symfony/Component/Form/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
6.3
5+
---
6+
7+
* Add `html5` option to `widget` for `DateType`, `DateTimeType`, `TimeType`
8+
49
6.2
510
---
611

src/Symfony/Component/Form/Extension/Core/Type/DateTimeType.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,22 +293,22 @@ public function configureOptions(OptionsResolver $resolver)
293293
'single_text',
294294
'text',
295295
'choice',
296-
'html5'
296+
'html5',
297297
]);
298298
$resolver->setAllowedValues('time_widget', [
299299
null, // inherit default from TimeType
300300
'single_text',
301301
'text',
302302
'choice',
303-
'html5'
303+
'html5',
304304
]);
305305
// This option will overwrite "date_widget" and "time_widget" options
306306
$resolver->setAllowedValues('widget', [
307307
null, // default, don't overwrite options
308308
'single_text',
309309
'text',
310310
'choice',
311-
'html5'
311+
'html5',
312312
]);
313313

314314
$resolver->setAllowedTypes('input_format', 'string');

src/Symfony/Component/Form/Extension/Core/Type/DateType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ public function configureOptions(OptionsResolver $resolver)
299299
'single_text',
300300
'text',
301301
'choice',
302-
'html5'
302+
'html5',
303303
]);
304304

305305
$resolver->setAllowedTypes('format', ['int', 'string']);

src/Symfony/Component/Form/Extension/Core/Type/TimeType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ public function configureOptions(OptionsResolver $resolver)
356356
'single_text',
357357
'text',
358358
'choice',
359-
'html5'
359+
'html5',
360360
]);
361361

362362
$resolver->setAllowedTypes('hours', 'array');

0 commit comments

Comments
 (0)
0