mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-43265 Fix question name text to 255 chars
This commit is contained in:
parent
974c2cdc03
commit
d7730f16f8
@ -175,7 +175,7 @@ abstract class question_edit_form extends question_wizard_form {
|
||||
}
|
||||
|
||||
$mform->addElement('text', 'name', get_string('questionname', 'question'),
|
||||
array('size' => 50));
|
||||
array('size' => 50, 'maxlength' => 255)));
|
||||
$mform->setType('name', PARAM_TEXT);
|
||||
$mform->addRule('name', null, 'required', null, 'client');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user