Skip to content

Commit 37a4f91

Browse files
committed
Merge branch '5.4' into 6.4
* 5.4: Change Type of field to correct one
2 parents 0f523b9 + 37f420a commit 37a4f91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/forms/types/time.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,14 @@ If your widget option is set to ``choice``, then this field will be represented
6969
as a series of ``select`` boxes. When the placeholder value is a string,
7070
it will be used as the **blank value** of all select boxes::
7171

72-
$builder->add('startTime', 'time', [
72+
$builder->add('startTime', TimeType::class, [
7373
'placeholder' => 'Select a value',
7474
]);
7575

7676
Alternatively, you can use an array that configures different placeholder
7777
values for the hour, minute and second fields::
7878

79-
$builder->add('startTime', 'time', [
79+
$builder->add('startTime', TimeType::class, [
8080
'placeholder' => [
8181
'hour' => 'Hour', 'minute' => 'Minute', 'second' => 'Second',
8282
],

0 commit comments

Comments
 (0)