diff --git a/snippets/shx-3d-render-input.liquid b/snippets/shx-3d-render-input.liquid index 3ee8d88..77ee92b 100644 --- a/snippets/shx-3d-render-input.liquid +++ b/snippets/shx-3d-render-input.liquid @@ -57,21 +57,17 @@ let globalInputFormsObj = { "test1": { - "renderHTML": () => { - console.log(this); - + "renderHTML": () => { let html = ` `; html += genTextInput('custom-text-1', 'Custom Text 1', 'Custom Text 1', globalInputFormsObjValues['test1']['text1']); - return ; + return html; } },"test2": { "renderHTML": () => { - console.log(this); - let html = ` `; @@ -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; } } };