select with images
parent
69320d28b6
commit
c0345cb605
|
@ -661,9 +661,11 @@
|
||||||
|
|
||||||
html += `<option value="${optionValue}" ${inputVal === optionValue ? 'selected' : ''}>${optionDisplayName}</option>`;
|
html += `<option value="${optionValue}" ${inputVal === optionValue ? 'selected' : ''}>${optionDisplayName}</option>`;
|
||||||
|
|
||||||
|
console.log("for", inputVal, optionValue)
|
||||||
|
|
||||||
if (isInputShxFont) {
|
if (isInputShxFont) {
|
||||||
customDropdownHtml += `
|
customDropdownHtml += `
|
||||||
<div data-value="${optionValue}" class="${inputVal === optionValue ? 'shx-custom-enhanced-dropdown-variant-selected' : ''}" onclick="onFontDropdownItemClick(event)">
|
<div data-value="${optionValue}" onclick="onFontDropdownItemClick(event)">
|
||||||
<span>${optionDisplayName}</span>
|
<span>${optionDisplayName}</span>
|
||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
|
|
Loading…
Reference in New Issue