12-27-2012 01:28 AM
I'm using TextArea components in my app, and they are marking words with incorrect spelling, allowing the user to "correct" them. I would like to disable this if possible through QML.
Can anyone help with this? Sorry if it is very simple, but I was having trouble finding a clear answer in the Cascades documents.
Thanks
Solved! Go to Solution.
12-27-2012 01:31 AM
12-27-2012 01:42 AM
I saw that, so I tried adding
input.flags: TextInputFlag.SpellCheckOff
to the TextArea. But it didn't make any difference. I still see the red underlines with certain words and can change them while using the app.
12-27-2012 03:47 PM
12-27-2012 03:59 PM
Yeah, that's what I used. I thought I was doing it right. I hope it gets fixed if it is a bug.
Thanks
12-27-2012 04:56 PM
As a work around if you set the input mode
inputMode: TextAreaInputMode.Chat
There will be no spell check (red line) or ability for the user to change the word, however you do run the risk of getting unintended emoticons ![]()
12-27-2012 05:11 PM
lol cant you disable emoticons then?
12-27-2012 05:13 PM
12-27-2012 05:18 PM
Since I'm controlling the text, it shouldn't be a problem. But is the method Kyle and I were discussing a known bug? Have you seen this issue as well? I'm just making sure if it's an actual bug or just an error on my part.
12-27-2012 05:18 PM - edited 12-27-2012 05:25 PM
Actually here's the full solution:
TextArea {
text: "default mode teh feild words :)"
inputMode: TextAreaInputMode.Default
editable: false
input.flags: TextInputFlag.SpellCheck
//spell check still shows, so don't have nothing for inputMode or set to Default, also no emoticons
}
TextArea {
text: "text mode teh feild words :)"
inputMode: TextAreaInputMode.Text
input.flags: TextInputFlag.SpellCheckOff
editable: false
//no spell check, no emoticons
}
TextArea {
text: "chat mode teh feild words :)"
inputMode: TextAreaInputMode.Chat
input.flags: TextInputFlag.SpellCheck
editable: false
// with or without input.flags, no spell check but will get emoticons
}