shx-3d-render

main
Jan Umbach 2024-06-13 16:39:43 +02:00
parent 02f7c4d63b
commit d113a18277
1 changed files with 3 additions and 7 deletions

View File

@ -57,21 +57,17 @@
let globalInputFormsObj = {
"test1": {
"renderHTML": () => {
console.log(this);
"renderHTML": () => {
let html = `
<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']);
return ;
return html;
}
},"test2": {
"renderHTML": () => {
console.log(this);
let html = `
<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-2', 'Custom Text 2', 'Custom Text 2', globalInputFormsObjValues['test2']['text2']);
return ;
return html;
}
}
};