diff --git a/snippets/shx-3d-render-input.liquid b/snippets/shx-3d-render-input.liquid index d2ef885..3e6b2c1 100644 --- a/snippets/shx-3d-render-input.liquid +++ b/snippets/shx-3d-render-input.liquid @@ -569,13 +569,13 @@ setTimeout(() => { showErrorMessageIfEmojiNotSupported(document.querySelector(`#${inputID}`).value, inputID) - + /* const event = new Event('input', { bubbles: true, cancelable: true, }); - document.querySelector(`#${inputID}`).dispatchEvent(event); + document.querySelector(`#${inputID}`).dispatchEvent(event); */ document.querySelector(`#${inputID}`).addEventListener('input', (e)=>{ if (!document.querySelector(`label[for="${inputID}-label"] span`)) { @@ -591,7 +591,6 @@ document.querySelector(`label[for="${inputID}-label"] span`).style.color = 'red'; } - showErrorMessageIfEmojiNotSupported(e.target.value, inputID) }); }, 1000);