select with images
parent
ead681f926
commit
75ba2814e2
|
@ -671,10 +671,10 @@
|
|||
console.log("fontAssetName", assetBaseUrl, fontAssetName, imgSrc)
|
||||
|
||||
customDropdownHtml += `
|
||||
<div data-value="${optionValue}" class="${inputVal === optionValue ? 'shx-custom-enhanced-dropdown-variant-selected' : ''}" onclick="onFontDropdownItemClick(event)">
|
||||
<div data-value="${optionValue}" class="${inputVal === optionValue ? 'shx-custom-enhanced-dropdown-variant-selected' : ''}" onclick="onFontDropdownItemClick(event)" style="height: 60px">
|
||||
<span>${optionDisplayName}</span>
|
||||
|
||||
<img src="${imgSrc}" alt="${optionDisplayName}" width="250px" />
|
||||
<img src="${imgSrc}" alt="${optionDisplayName}" style="height: 100%" />
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue