add message for emojis not supported on this type
parent
26d6c71e24
commit
9a4ba76500
|
@ -551,6 +551,8 @@
|
||||||
|
|
||||||
function SHX_IFC_genTextInput(inputID, labelText, inputName, inputVal, section_id, maxLength = 24, emojisSupported = false) {
|
function SHX_IFC_genTextInput(inputID, labelText, inputName, inputVal, section_id, maxLength = 24, emojisSupported = false) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
console.log("tim", document.querySelector(`#${inputID}`))
|
||||||
|
|
||||||
document.querySelector(`#${inputID}`).addEventListener('input',(e)=>{
|
document.querySelector(`#${inputID}`).addEventListener('input',(e)=>{
|
||||||
if(!document.querySelector(`label[for="${inputID}-label"] span`)){
|
if(!document.querySelector(`label[for="${inputID}-label"] span`)){
|
||||||
const span = document.createElement("span");
|
const span = document.createElement("span");
|
||||||
|
|
Loading…
Reference in New Issue