Bust subtask title max length to 255 characters
This commit is contained in:
parent
f55e12d5ee
commit
900e3fa1fd
|
|
@ -456,7 +456,7 @@ class Subtask extends Base
|
|||
return array(
|
||||
new Validators\Integer('id', t('The subtask id must be an integer')),
|
||||
new Validators\Integer('task_id', t('The task id must be an integer')),
|
||||
new Validators\MaxLength('title', t('The maximum length is %d characters', 100), 100),
|
||||
new Validators\MaxLength('title', t('The maximum length is %d characters', 255), 255),
|
||||
new Validators\Integer('user_id', t('The user id must be an integer')),
|
||||
new Validators\Integer('status', t('The status must be an integer')),
|
||||
new Validators\Numeric('time_estimated', t('The time must be a numeric value')),
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<?= $this->formHidden('task_id', $values) ?>
|
||||
|
||||
<?= $this->formLabel(t('Title'), 'title') ?>
|
||||
<?= $this->formText('title', $values, $errors, array('required', 'autofocus', 'maxlength="100"')) ?><br/>
|
||||
<?= $this->formText('title', $values, $errors, array('required', 'autofocus', 'maxlength="255"')) ?><br/>
|
||||
|
||||
<?= $this->formLabel(t('Assignee'), 'user_id') ?>
|
||||
<?= $this->formSelect('user_id', $users_list, $values, $errors) ?><br/>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<?= $this->formHidden('task_id', $values) ?>
|
||||
|
||||
<?= $this->formLabel(t('Title'), 'title') ?>
|
||||
<?= $this->formText('title', $values, $errors, array('required', 'autofocus', 'maxlength="100"')) ?><br/>
|
||||
<?= $this->formText('title', $values, $errors, array('required', 'autofocus', 'maxlength="255"')) ?><br/>
|
||||
|
||||
<?= $this->formLabel(t('Assignee'), 'user_id') ?>
|
||||
<?= $this->formSelect('user_id', $users_list, $values, $errors) ?><br/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue