Added also datetime, since it can have microseconds, too

This commit is contained in:
schrolli 2016-05-02 17:11:28 +02:00
parent 40b812e391
commit 0de87cd74e

View file

@ -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 &&