@@ -178,7 +178,7 @@ Item {
178 property var model: []
178 property var model: []
179 property bool hasAttributes: {
179 property bool hasAttributes: {
180 var attributes = components["attributes"];
180 var attributes = components["attributes"];
181− var hasAttributesFlag = (attributes != undefined) && attributes["field"];
181+ var hasAttributesFlag = (attributes != undefined) && attributes["field"] != undefined;
183 if (hasAttributesFlag) {
183 if (hasAttributesFlag) {
184 if (attributes["max-count"]) {
184 if (attributes["max-count"]) {