add message for emojis not supported on this type

main
alexanderroese 2024-07-25 21:40:23 +02:00
parent 26d6c71e24
commit 9a4ba76500
1 changed files with 2 additions and 0 deletions

View File

@ -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");