From d113a1827705b477df14f0dc8f32cccb37d6ed62 Mon Sep 17 00:00:00 2001 From: Jan Umbach Date: Thu, 13 Jun 2024 16:39:43 +0200 Subject: [PATCH] shx-3d-render --- snippets/shx-3d-render-input.liquid | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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; } } };