From 9a4ba7650062fc8fc26f9f9612aeaf3331b90b68 Mon Sep 17 00:00:00 2001 From: alexanderroese Date: Thu, 25 Jul 2024 21:40:23 +0200 Subject: [PATCH] add message for emojis not supported on this type --- snippets/shx-3d-render-input.liquid | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snippets/shx-3d-render-input.liquid b/snippets/shx-3d-render-input.liquid index 69b7d42..753cbbe 100644 --- a/snippets/shx-3d-render-input.liquid +++ b/snippets/shx-3d-render-input.liquid @@ -551,6 +551,8 @@ function SHX_IFC_genTextInput(inputID, labelText, inputName, inputVal, section_id, maxLength = 24, emojisSupported = false) { setTimeout(() => { + console.log("tim", document.querySelector(`#${inputID}`)) + document.querySelector(`#${inputID}`).addEventListener('input',(e)=>{ if(!document.querySelector(`label[for="${inputID}-label"] span`)){ const span = document.createElement("span");