Merge branch 'MDL-60114_35_radio-option-choose' of https://github.com/awagner/moodle into MOODLE_35_STABLE

This commit is contained in:
Jake Dallimore
2018-08-13 16:03:27 +08:00
+2 -1
View File
@@ -103,7 +103,8 @@ class data_field_radiobutton extends data_field_base {
}
$return = html_writer::label(get_string('fieldtypelabel', "datafield_" . $this->type),
'menuf_' . $this->field->id, false, array('class' => 'accesshide'));
$return .= html_writer::select($options, 'f_'.$this->field->id, $value, null, array('class' => 'custom-select'));
$return .= html_writer::select($options, 'f_'.$this->field->id, $value,
array('' => 'choosedots'), array('class' => 'custom-select'));
return $return;
}