@@ -51,7 +51,7 @@ PreviewWidget {
5151 clip: reviewContainer.visible
5252
5353 property alias ratingValue: rating.value
54− property alias reviewText: reviewTextArea.displayText
54+ property alias reviewText: reviewTextArea.text
5555
5656 function submit() {
5757 // checks rating-input requirements
@@ -60,9 +60,9 @@ PreviewWidget {
6060 rating.value < 0) ||
6161 ((widgetData["required"] === "both" ||
6262 widgetData["required"] === "review") &&
63− reviewTextArea.displayText === "")) return;
63+ reviewTextArea.text === "")) return;
6464
65− var data = {"rating": rating.value, "review": reviewTextArea.displayText, "author": null};
65+ var data = {"rating": rating.value, "review": reviewTextArea.text, "author": null};
6666 triggered(root.widgetId, "rated", data);
6767 }
6868
@@ -163,7 +163,7 @@ PreviewWidget {
163163
164164 readonly property bool readyToSubmit: {
165165 if ((widgetData["required"] !== "review" && rating.value < 0) ||
166− (widgetData["required"] !== "rating" && reviewTextArea.displayText === "")) return false;
166+ (widgetData["required"] !== "rating" && reviewTextArea.text === "" && !reviewTextArea.inputMethodComposing)) return false;
167167 else return true;
168168 }
169169