Skip to content

Commit

Permalink
Update mod_form.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ralferlebach committed Oct 4, 2024
1 parent d0b08a4 commit ef347b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ public function definition() {

$mform->addElement('autocomplete', 'learningpathid', get_string('mform_select_learningpath', 'mod_adele'), $select,
$options);
$mform->addRule('learningpathid', null, 'required', null, 'client');

$views = [
1 => get_string('mform_options_view_top_level', 'mod_adele'),
Expand Down

0 comments on commit ef347b4

Please sign in to comment.