teneo-web-chat icon indicating copy to clipboard operation
teneo-web-chat copied to clipboard

Upload Panel custom localization spellcheck shown on click

Open sergey124 opened this issue 2 years ago • 0 comments

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

  1. Open chat window
  2. Click Upload button
    • Upload Panel shows
  3. Click into Upload Panel drop area

Expected behavior

  • no spellcheck errors shown

Actual behavior

  • spellcheck errors underlined image

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

sergey124 avatar Aug 17 '23 09:08 sergey124