mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
commit
538f09b94f
@ -77,6 +77,17 @@ class DatetimeField extends FormField {
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function setName($name) {
|
||||
parent::setName($name);
|
||||
|
||||
$this->dateField->setName($name . '[date]');
|
||||
$this->timeField->setName($name . '[time]');
|
||||
$this->timezoneField->setName($name . '[timezone]');
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
public function FieldHolder($properties = array()) {
|
||||
$config = array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user