select with images

main
alexanderroese 2024-07-17 23:47:02 +02:00
parent ead681f926
commit 75ba2814e2
1 changed files with 2 additions and 2 deletions

View File

@ -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>
`
}