shx-3d-render
parent
8396631142
commit
09c287d257
|
@ -39,14 +39,12 @@
|
|||
"test1": {
|
||||
"renderHTML": () => {
|
||||
console.log(this);
|
||||
return `
|
||||
<div id="shx-3d-render-input-container">
|
||||
<style>.custom.form__label{margin-bottom: 0.6rem}.field.custom{margin-top:0}.custom .field__input{padding-top:0.8rem}</style>
|
||||
<label class="form__label custom" for="your-label">Dein Text</label>
|
||||
<div class="field custom">
|
||||
<input class="field__input" form="{{ 'product-form-' | append: section.id }}" type="text" id="your-label" name="properties[Your label]" value="${globalInputFormsObjValues.test1.text1}">
|
||||
</div>
|
||||
</div>
|
||||
return `
|
||||
<style>.custom.form__label{margin-bottom: 0.6rem}.field.custom{margin-top:0}.custom .field__input{padding-top:0.8rem}</style>
|
||||
<label class="form__label custom" for="your-label">Dein Text</label>
|
||||
<div class="field custom">
|
||||
<input class="field__input" form="{{ 'product-form-' | append: section.id }}" type="text" id="your-label" name="properties[Your label]" value="${globalInputFormsObjValues.test1.text1}">
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue