added field type "time" sothat no "maxlength" attribute is set for

the text-input element. This is neccessary when a "length" is
specified for a time-database-field. This length dictates the amount
of decimal digits, eg. milliseconds, and not the overall character size.
This commit is contained in:
schrolli 2016-05-01 05:56:50 +02:00
parent be35880b2f
commit 40b812e391

View file

@ -1309,6 +1309,7 @@ class FormHelper extends AppHelper {
is_scalar($fieldDef['length']) &&
$fieldDef['length'] < 1000000 &&
$fieldDef['type'] !== 'decimal' &&
$fieldDef['type'] !== 'time' &&
$options['type'] !== 'select'
);
if ($autoLength &&