mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fixed DateFieldSeparated docs
This commit is contained in:
parent
014f0d23ed
commit
a9f2e9e73d
@ -56,11 +56,11 @@ strtotime()).
|
||||
|
||||
## Separate Day / Month / Year Fields
|
||||
|
||||
To display separate input fields for day, month and year separately you can use the `DateFieldSeparated` subclass`.
|
||||
To display separate input fields for day, month and year separately you can use the `SeparatedDateField` subclass`.
|
||||
HTML5 placeholders 'day', 'month' and 'year' are enabled by default.
|
||||
|
||||
:::php
|
||||
DateFieldSeparated::create('MyDate');
|
||||
SeparatedDateField::create('MyDate');
|
||||
|
||||
<div class="alert" markdown="1">
|
||||
Any custom date format settings will be ignored.
|
||||
|
Loading…
Reference in New Issue
Block a user