select with images

main
alexanderroese 2024-07-17 23:08:27 +02:00
parent 24c92f6303
commit 297904739f
1 changed files with 2 additions and 2 deletions

View File

@ -620,10 +620,10 @@
function SHX_IFC_genDropdownSelect(inputID, labelText, inputName, inputVal, options, section_id) {
let isInputShxFont = inputID === "shx-font"
let html = `
<label class="form__label custom shx-ifc-form_label" for="${inputID}-label">${labelText}</label>
<div class="field custom${isInputShxFont && ' shx-custom-enhanced-dropdown-hide-dummy-select'}">
<div class="field custom${isInputShxFont ? ' shx-custom-enhanced-dropdown-hide-dummy-select' : ''}">
<select id="${inputID}" form="product-form-${section_id}" name="properties[${inputName}]" class="field__input shx-custom-enhanced-dropdown-font-hide-dummy-select" style="height: 40px" onchange="document.querySelector('shx-input-forms').renderView(500)">
`;