@@ -51,7 +51,7 @@ PreviewWidget {
51 clip: reviewContainer.visible
51 clip: reviewContainer.visible
53 property alias ratingValue: rating.value
53 property alias ratingValue: rating.value
54− property alias reviewText: reviewTextArea.text
54+ property alias reviewText: reviewTextArea.displayText
56 function submit() {
56 function submit() {
57 // checks rating-input requirements
57 // checks rating-input requirements
@@ -60,9 +60,9 @@ PreviewWidget {
60 rating.value < 0) ||
60 rating.value < 0) ||
61 ((widgetData["required"] === "both" ||
61 ((widgetData["required"] === "both" ||
62 widgetData["required"] === "review") &&
62 widgetData["required"] === "review") &&
63− reviewTextArea.text === "")) return;
63+ reviewTextArea.displayText === "")) return;
65− var data = {"rating": rating.value, "review": reviewTextArea.text, "author": null};
65+ var data = {"rating": rating.value, "review": reviewTextArea.displayText, "author": null};
66 triggered(root.widgetId, "rated", data);
66 triggered(root.widgetId, "rated", data);