Skip to content

Commit 3ce4093

Browse files
angyvolinxabbuh
authored andcommitted
Update birthday.rst
1 parent 9d5ae6b commit 3ce4093

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/forms/types/birthday.rst

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

85-
$builder->add('birthdate', 'birthday', array(
85+
$builder->add('birthdate', BirthdayType::class, array(
8686
'placeholder' => 'Select a value',
8787
));
8888

8989
Alternatively, you can use an array that configures different placeholder
9090
values for the year, month and day fields::
9191

92-
$builder->add('birthdate', 'birthday', array(
92+
$builder->add('birthdate', BirthdayType::class, array(
9393
'placeholder' => array(
9494
'year' => 'Year', 'month' => 'Month', 'day' => 'Day',
9595
)

0 commit comments

Comments
 (0)