* Add title for select options.

* Set wrap for options over width.
This commit is contained in:
daitingting
2018-03-30 14:42:11 +08:00
parent 1a541d715b
commit 2fa7aa63b3
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ class html extends baseHTML
$optionPinyin = zget($convertedPinYin, $value, '');
$key = str_replace('item', '', $key);
$selected = strpos($selectedItems, ",$key,") !== false ? " selected='selected'" : '';
$string .= "<option value='$key'$selected data-keys='{$optionPinyin}'>$value</option>\n";
$string .= "<option value='$key'$selected title='{$value}' data-keys='{$optionPinyin}'>$value</option>\n";
}
/* End. */