Ich schreibe gerade ein neues Modul. Hierbei ist der folgende Fehler aufgetreten, wenn ich eine Liste im Konfigurationsformular hinzufüge. Unter einer älteren Version (5.x) tritt dieser Fehler nicht auf.
Es gab einen nicht abgefangener Fehler. Bitte kontaktieren Sie Symcon mit der folgenden Fehlermeldung und einer Beschreibung, wie Sie den Fehler ausgelöst haben
TypeError: this.callbacks.isDraggable is not a function
at HTMLElement._isDraggable (http://192.168.178.39:3777/console/src/console-app.js:26791:564)
at HTMLElement._createRow (http://192.168.178.39:3777/console/src/console-app.js:26837:354)
at finalizeRender (http://192.168.178.39:3777/console/src/console-app.js:27023:1051)
at http://192.168.178.39:3777/console/src/console-app.js:27027:355
at http://192.168.178.39:3777/console/node_modules/web-animations-js/web-animations-next-lite.min.js:14:34536
Und so sieht das Listenelement aus:
{
"type": "List",
"name": "Variables",
"caption": "Variables",
"rowCount": 6,
"add": false,
"delete": false,
"columns": [{
"caption": "Ident",
"name": "Ident",
"visible": false
}, {
"caption": "Position",
"name": "Position",
"visible": false
}, {
"caption": "Profile",
"name": "Profile",
"visible": false
},{
"caption": "WeatherCorrection",
"name": "WeatherCorrection",
"visible": false
},{
"caption": "Description",
"name": "Description",
"width": "150px",
"visible": true
}, {
"caption": "Active",
"name": "Active",
"width": "75px",
"visible": true,
"edit": {
"type": "CheckBox"
}
}],
"values": [
{
"Ident": "EnergyCurrentPeriod",
"Position": 10,
"Profile": "",
"WeatherCorrection": false,
"Description": "current period",
"Active": true
},
{
"Ident": "EnergyLastPeriod",
"Position": 11,
"Profile": "",
"WeatherCorrection": false,
"Description": "last period",
"Active": true
},
{
"Ident": "EnergyLastPeriodCorrected",
"Position": 12,
"Profile": "",
"WeatherCorrection": true,
"Description": "last period (weather adjusted)",
"Active": true
},
{
"Ident": "EnergySavingPercent",
"Position": 13,
"Profile": "",
"WeatherCorrection": false,
"Description": "Energy savings",
"Active": true
},
{
"Ident": "EnergySavingPercentCorrected",
"Position": 14,
"Profile": "",
"WeatherCorrection": true,
"Description": "Energy savings (weather adjusted)",
"Active": true
}
]
}