Hi,
I am using trial version of UI pro, and this error appears only in IOS, while work well in Android.
it has no problem when i add Chinese text in a token, the pop up list showing suggested labels also works correctly.
But When a token is selected, it shows mis-decoded text in the TextView,
onTokenAdded also is triggered, however args.token is null when the text is Chinese.
Any suggestion how to solve this?
Thanks
Ben
The code snippets are:
******* js ********
var titles = [
"How I Met Your Mother S01E01",
"How I Met Your Mother S01E02",
"老爸老媽浪漫史 S01E01",
"老爸老媽浪漫史 S01E02",
];
for (var i = 0; i < titles.length; i++) {
var token = new autocompleteModule.TokenModel(titles[i]);
token.id = titles[i];
items.push(token);
};
exports.onTokenAdded = function(args){
alert(JSON.stringify(args.token));
}
pageData.set("items", items);
****** xml *******
<au:RadAutoCompleteTextView
items="{{ items }}"
completionMode="Contains"
layoutMode="Wrap"
displayMode="Tokens"
suggestMode="Suggest"
tokenAdded="onTokenAdded"
tokenRemoved="onTokenRemoved"
>