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

This commit is contained in:
Jake Dallimore 2018-08-13 16:02:54 +08:00
commit e99564e51b

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;
}