From 318fe397eb04e154f1cc429aa400bcf129c4c378 Mon Sep 17 00:00:00 2001 From: alexanderroese Date: Thu, 25 Jul 2024 22:30:14 +0200 Subject: [PATCH] add message for emojis not supported on this type --- snippets/shx-3d-render-input.liquid | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/snippets/shx-3d-render-input.liquid b/snippets/shx-3d-render-input.liquid index 0e7fbcb..1b60ed4 100644 --- a/snippets/shx-3d-render-input.liquid +++ b/snippets/shx-3d-render-input.liquid @@ -585,7 +585,9 @@ span.style.marginLeft = `10px` document.querySelector(`label[for="${inputID}-label"]`).appendChild(span) } - + + inputLabel = document.querySelector(`label[for="${inputID}-label"] span`) + // show current used char length inputLabel.style.display = `inline` inputLabel.style.color = null;