diff --git a/snippets/shx-3d-render-input.liquid b/snippets/shx-3d-render-input.liquid index 23fe904..ead0a06 100644 --- a/snippets/shx-3d-render-input.liquid +++ b/snippets/shx-3d-render-input.liquid @@ -65,6 +65,35 @@ } + /**/ + + function SHX_IFC_genDropdownSelect(inputID, labelText, inputName, inputVal, options) { + let html = ` + +
+
`; + + return html; + } + + + + const defaultStyle = ``; let globalInputFormsObj = { @@ -73,6 +102,7 @@ let html = defaultStyle; html += SHX_IFC_genTextInput('shx-text1', 'Custom Text 1', 'Custom Text 1', globalInputFormsObjValues['test1']['shx-text1']); + html += SHX_IFC_genDropdownSelect('shx-font', 'Dropdown', 'dropdown', 'test', ['test', 'test2', 'test3']); html += SHX_IFC_genRenderButton(); return html;