Skip to content

Commit

Permalink
Merge pull request #171 from edaktik/pr/form_name_length
Browse files Browse the repository at this point in the history
raise name input element's maxlength to 128 (eDaktik: #4139)
  • Loading branch information
jleyva authored Mar 9, 2021
2 parents fe0900f + 9a6660f commit aea3402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editreport_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function definition() {

$mform->addElement('header', 'general', get_string('general', 'form'));

$mform->addElement('text', 'name', get_string('name'), array('maxlength' => 60, 'size' => 58));
$mform->addElement('text', 'name', get_string('name'), array('maxlength' => 128, 'size' => 58));
if (!empty($CFG->formatstringstriptags)) {
$mform->setType('name', PARAM_TEXT);
} else {
Expand Down

0 comments on commit aea3402

Please sign in to comment.