teneo-web-chat
teneo-web-chat copied to clipboard
Upload Panel custom localization spellcheck shown on click
Upload Panel custom localization spellcheck shown on click
Browser treats Upload drop area as a text input field and highlights spelling errors according to current browser spellcheck language dictionary.
Steps to reproduce
- Open chat window
- Click Upload button
- Upload Panel shows
- Click into Upload Panel drop area
Expected behavior
- no spellcheck errors shown
Actual behavior
- spellcheck errors underlined
Teneo Web Chat configuration
const teneoProps = {
'customLocalizations': {
'sv': {
message: {
upload_panel_add_files: "notAWordFromBrowserLangSpellCheckDictionary Släpp eller klistra in filer här"
}
}
},
'locale': 'sv'
}
window.TeneoWebChat.initialize(element, teneoProps);