Is there a way to prevent autocorrection within Microsoft's bot framework's Web Chat?
Asked
Active
Viewed 71 times
1 Answers
3
It turns out that autocomplete/autocorrect/spellcheck/etc. are browser features and are completely independent of webchat.
This worked for me:
<script>
var textbox = document.querySelector('.wc-textbox')
textbox.setAttribute('autocomplete', 'off')
textbox.setAttribute('autocorrect', 'off')
textbox.setAttribute('autocapitalize', 'off')
textbox.setAttribute('spellcheck', 'false')
</script>

Raphael Rafatpanah
- 19,082
- 25
- 92
- 158