shx-3d-render
parent
02f7c4d63b
commit
d113a18277
|
@ -57,21 +57,17 @@
|
||||||
|
|
||||||
let globalInputFormsObj = {
|
let globalInputFormsObj = {
|
||||||
"test1": {
|
"test1": {
|
||||||
"renderHTML": () => {
|
"renderHTML": () => {
|
||||||
console.log(this);
|
|
||||||
|
|
||||||
let html = `
|
let html = `
|
||||||
<style>.custom.form__label{margin-bottom: 0.6rem}.field.custom{margin-top:0}.custom .field__input{padding-top:0.8rem}</style>
|
<style>.custom.form__label{margin-bottom: 0.6rem}.field.custom{margin-top:0}.custom .field__input{padding-top:0.8rem}</style>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
html += genTextInput('custom-text-1', 'Custom Text 1', 'Custom Text 1', globalInputFormsObjValues['test1']['text1']);
|
html += genTextInput('custom-text-1', 'Custom Text 1', 'Custom Text 1', globalInputFormsObjValues['test1']['text1']);
|
||||||
|
|
||||||
return ;
|
return html;
|
||||||
}
|
}
|
||||||
},"test2": {
|
},"test2": {
|
||||||
"renderHTML": () => {
|
"renderHTML": () => {
|
||||||
console.log(this);
|
|
||||||
|
|
||||||
let html = `
|
let html = `
|
||||||
<style>.custom.form__label{margin-bottom: 0.6rem}.field.custom{margin-top:0}.custom .field__input{padding-top:0.8rem}</style>
|
<style>.custom.form__label{margin-bottom: 0.6rem}.field.custom{margin-top:0}.custom .field__input{padding-top:0.8rem}</style>
|
||||||
`;
|
`;
|
||||||
|
@ -79,7 +75,7 @@
|
||||||
html += genTextInput('custom-text-1', 'Custom Text 1', 'Custom Text 1', globalInputFormsObjValues['test2']['text1']);
|
html += genTextInput('custom-text-1', 'Custom Text 1', 'Custom Text 1', globalInputFormsObjValues['test2']['text1']);
|
||||||
html += genTextInput('custom-text-2', 'Custom Text 2', 'Custom Text 2', globalInputFormsObjValues['test2']['text2']);
|
html += genTextInput('custom-text-2', 'Custom Text 2', 'Custom Text 2', globalInputFormsObjValues['test2']['text2']);
|
||||||
|
|
||||||
return ;
|
return html;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue