summaryrefslogtreecommitdiff
path: root/lib/kolab_client_task.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kolab_client_task.php')
-rw-r--r--lib/kolab_client_task.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/kolab_client_task.php b/lib/kolab_client_task.php
index 4e1c90c..bd49cd3 100644
--- a/lib/kolab_client_task.php
+++ b/lib/kolab_client_task.php
@@ -614,6 +614,10 @@ class kolab_client_task
case 'list':
$result['type'] = kolab_form::INPUT_TEXTAREA;
$result['data-type'] = kolab_form::TYPE_LIST;
+
+ if (!empty($field['maxlength'])) {
+ $result['data-maxlength'] = $field['maxlength'];
+ }
break;
default: