MDL-47494 gapselect: Merge pull request #11 from colchambers/wip6846
Qtype gapselect showing Did you remember to call setType() errors on edi...
This commit is contained in:
@@ -163,6 +163,7 @@ class qtype_gapselect_edit_form_base extends question_edit_form {
|
||||
protected function repeated_options() {
|
||||
$repeatedoptions = array();
|
||||
$repeatedoptions['choicegroup']['default'] = '1';
|
||||
$repeatedoptions['choices[answer]']['type'] = PARAM_TEXT;
|
||||
return $repeatedoptions;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user