diff --git a/code/model/formfields/EditableDateField.php b/code/model/formfields/EditableDateField.php index 0dd36de..cf49c9f 100755 --- a/code/model/formfields/EditableDateField.php +++ b/code/model/formfields/EditableDateField.php @@ -59,7 +59,9 @@ JS $default = ($this->getSetting('DefaultToToday')) ? date('d/m/Y') : $this->Default; - return new DateField( $this->Name, $this->Title, $default); + $dateField = new DateField( $this->Name, $this->Title, $default); + $dateField->setConfig('showcalendar', true); + return $dateField; } /** @@ -75,4 +77,4 @@ JS 'date' => true ); } -} \ No newline at end of file +}