diff --git a/lib/Cake/View/Helper/FormHelper.php b/lib/Cake/View/Helper/FormHelper.php index 11dc1f41a..eef90a857 100644 --- a/lib/Cake/View/Helper/FormHelper.php +++ b/lib/Cake/View/Helper/FormHelper.php @@ -1310,6 +1310,7 @@ class FormHelper extends AppHelper { $fieldDef['length'] < 1000000 && $fieldDef['type'] !== 'decimal' && $fieldDef['type'] !== 'time' && + $fieldDef['type'] !== 'datetime' && $options['type'] !== 'select' ); if ($autoLength &&