Skip to content

Commit 0acd360

Browse files
committed
Fixed #26 - Bar Rating Bug in Angular2
1 parent 825860f commit 0acd360

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/jquery-bar-rating.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ function init(Survey, $) {
1616
Survey.JsonObject.metaData.addClass(
1717
"barrating",
1818
[
19-
{ name: "showValues:boolean", default: false },
2019
{ name: "hasOther", visible: false },
2120
{ name: "otherText", visible: false },
2221
{ name: "optionsCaption", visible: false },
@@ -27,6 +26,10 @@ function init(Survey, $) {
2726
null,
2827
"dropdown"
2928
);
29+
Survey.JsonObject.metaData.addProperty("barrating", {
30+
name: "showValues:boolean",
31+
default: false
32+
});
3033
Survey.JsonObject.metaData.addProperty("barrating", {
3134
name: "ratingTheme",
3235
default: "fontawesome-stars",

0 commit comments

Comments
 (0)