@@ -172,7 +172,7 @@ Item {
172 property bool hasAttributes: {
172 property bool hasAttributes: {
173 var attributes = components["attributes"];
173 var attributes = components["attributes"];
174 var hasAttributesFlag = (attributes != undefined) && attributes["field"];
174 var hasAttributesFlag = (attributes != undefined) && attributes["field"];
175− // TODO: we should get num of attributes from components
175+
176 if (hasAttributesFlag) {
176 if (hasAttributesFlag) {
177 if (attributes["max-count"]) {
177 if (attributes["max-count"]) {
178 numOfAttributes = attributes["max-count"];
178 numOfAttributes = attributes["max-count"];