Skip to content

Commit

Permalink
feat(select-entry-factory): add (optional) tooltip support for drop d…
Browse files Browse the repository at this point in the history
…own options
  • Loading branch information
rajgoel authored and fake-join[bot] committed Jun 18, 2020
1 parent 5aab2d6 commit 2aa74ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/factory/SelectEntryFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ var selectbox = function(options, defaultParameters) {

if (isList(selectOptions)) {
forEach(selectOptions, function(option) {
resource.html += '<option value="' + escapeHTML(option.value) + '">' +
resource.html += '<option value="' + escapeHTML(option.value) + (option.title ? '" title="' + escapeHTML(option.title) : '') + '">' +
(option.name ? escapeHTML(option.name) : '') + '</option>';
});
}
Expand Down

0 comments on commit 2aa74ee

Please sign in to comment.