add message for emojis not supported on this type

main
alexanderroese 2024-07-25 21:49:14 +02:00
parent 42e7f6da4b
commit fb8b154a2b
1 changed files with 2 additions and 2 deletions

View File

@ -561,9 +561,9 @@
}
}
showErrorMessageIfEmojiNotSupported(document.querySelector(`#${inputID}`).value)
setTimeout(() => {
showErrorMessageIfEmojiNotSupported(document.querySelector(`#${inputID}`).value)
document.querySelector(`#${inputID}`).addEventListener('input',(e)=>{
if(!document.querySelector(`label[for="${inputID}-label"] span`)){
const span = document.createElement("span");