add message for emojis not supported on this type
parent
abc9df8518
commit
a2ea6b270a
|
@ -584,6 +584,13 @@
|
||||||
document.querySelector(`label[for="${inputID}-label"] span`).style.color = 'red';
|
document.querySelector(`label[for="${inputID}-label"] span`).style.color = 'red';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const event = new Event('input', {
|
||||||
|
bubbles: true,
|
||||||
|
cancelable: true,
|
||||||
|
});
|
||||||
|
|
||||||
|
document.querySelector(`#${inputID}`).dispatchEvent(event);
|
||||||
|
|
||||||
showErrorMessageIfEmojiNotSupported(e.target.value, inputID)
|
showErrorMessageIfEmojiNotSupported(e.target.value, inputID)
|
||||||
});
|
});
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
|
Loading…
Reference in New Issue