Fehler beim Laden der Konfigurationsform: TypeError: element.format is not a function

Ich erhalte die o.g. Fehlermeldung beim Versuch, eine Instanz in der Konsole zum Bearbeiten zu öffnen.

Die Instanz hat folgendes Formular:


{
    "elements":
    [
        { "type": "Checkbox", "name": "active", "caption": "active" },
        { "type": "Label", "caption": "Calendar access" },
        { "type": "ValidationTextBox", "name": "CalendarServerURL", "caption": "Calendar URL" },
        { "type": "ValidationTextBox", "name": "Username", "caption": "Username" },
        { "type": "PasswordTextBox", "name": "Password", "caption": "Password" },
        { "type": "Label", "label": "Synchronization" },
        { "type": "NumberSpinner", "name": "DaysToCache", "caption": "Cachesize (days)" },
        { "type": "NumberSpinner", "name": "UpdateFrequency", "caption": "Update freq. (minutes)" }
    ],
    "actions":
    [
        { "type": "Button", "caption": "Check calendar URL", "onClick": "ICCR_CheckCalendarURLSyntax($id);" },
        { "type": "Button", "caption": "Update calendar", "onClick": "ICCR_UpdateCalendar($id);" }
    ],
    "status":
    [
        { "code": 201, "icon": "error", "caption": "Invalid URL, see log for details" },
        { "code": 202, "icon": "error", "caption": "SSL error, see log for details" },
        { "code": 203, "icon": "error", "caption": "Invalid user or password" },
        { "code": 204, "icon": "error", "caption": "Connection error, see log for details" },
        { "code": 205, "icon": "error", "caption": "Unexpected response from calendar server, please check calendar URL" }
    ]
}

Was könnte das sein?

Gruß

Burkhard

Du verwendest als Element „Checkbox“, obwohl es „CheckBox“ heißt. Daher kommt der Fehler. Ich sollte da allerdings mal eine passende und helfende Fehlermeldung einbauen.

Besten Dank! Das wäre nicht schlecht. Da wäre ich nur mit aufwändigem Try-and-Error drauf gekommen.