add message for emojis not supported on this type

main
alexanderroese 2024-07-25 22:15:19 +02:00
parent a2ea6b270a
commit 6925320a45
1 changed files with 2 additions and 2 deletions

View File

@ -583,13 +583,13 @@
document.querySelector(`label[for="${inputID}-label"] span`).textContent = 'Bitte gib deinen Text ein';
document.querySelector(`label[for="${inputID}-label"] span`).style.color = 'red';
}
/*
const event = new Event('input', {
bubbles: true,
cancelable: true,
});
document.querySelector(`#${inputID}`).dispatchEvent(event);
document.querySelector(`#${inputID}`).dispatchEvent(event); */
showErrorMessageIfEmojiNotSupported(e.target.value, inputID)
});