diff --git a/snippets/shx-3d-render-input.liquid b/snippets/shx-3d-render-input.liquid index 42de3a7..6078615 100644 --- a/snippets/shx-3d-render-input.liquid +++ b/snippets/shx-3d-render-input.liquid @@ -620,9 +620,11 @@ } function loadCustomEnhancedDropdownSelectedValue() { - const selectElement = document.querySelector('.shx-custom-enhanced-dropdown-font-hide-dummy-select'); + setTimeout(() => { + const selectElement = document.querySelector('.shx-custom-enhanced-dropdown-font-hide-dummy-select'); - document.getElementById("shx-custom-enhanced-dropdown-font-select-selected-value").innerText = selectElement.value + document.getElementById("shx-custom-enhanced-dropdown-font-select-selected-value").innerText = selectElement.value + }, 1000) }; function SHX_IFC_genDropdownSelect(inputID, labelText, inputName, inputVal, options, section_id) {