shx-3d-render
parent
b9b8d7f234
commit
fc91f05994
|
@ -1,4 +1,5 @@
|
|||
{% assign content_type = content_type | default: 'body' %}
|
||||
{% assign section_id = sectionID | default: 'null' %}
|
||||
|
||||
{% if content_type == 'body' %}
|
||||
|
||||
|
@ -54,7 +55,7 @@
|
|||
return `
|
||||
<label class="form__label custom shx-ifc-form_label" for="${inputID}-label">${labelText}</label>
|
||||
<div class="field custom">
|
||||
<input class="field__input" form="{{ 'product-form-' | append: section.id }}" type="text" id="${inputID}" name="properties[${inputName}]" value="${inputVal}">
|
||||
<input class="field__input" form="{{ 'product-form-' | append: section_id }}" type="text" id="${inputID}" name="properties[${inputName}]" value="${inputVal}">
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
@ -92,7 +93,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', 'Schriftart', 'dropdown', 'LT Beverage', ['LT Beverage', 'test2', 'test3']);
|
||||
html += SHX_IFC_genDropdownSelect('shx-font', 'Schriftart', 'dropdown', globalInputFormsObjValues['test1']['shx-font'], ['LT Beverage', 'test2', 'test3']);
|
||||
html += SHX_IFC_genRenderButton();
|
||||
|
||||
return html;
|
||||
|
|
Loading…
Reference in New Issue