mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
webservice MDL-21351 add function page: use multiple searchable selector
This commit is contained in:
parent
c59a67ab40
commit
3a17a7a352
4 changed files with 11 additions and 15 deletions
|
@ -116,7 +116,7 @@ class external_service_functions_form extends moodleform {
|
|||
$functions[$functionid] = $function->name.':'.$function->description;
|
||||
}
|
||||
|
||||
$mform->addElement('searchableselector', 'fid', get_string('name'), $functions);
|
||||
$mform->addElement('searchableselector', 'fid', get_string('name'), $functions, array('multiple' => true));
|
||||
|
||||
$mform->addElement('hidden', 'id');
|
||||
$mform->setType('id', PARAM_INT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue