dmstr / yii2-json-editor

Yii2 wrapper for "json-editor/json-editor" (is a fork of "jdorn/json-editor").
BSD 2-Clause "Simplified" License
8 stars 9 forks source link

Resolve the issue where plugins fail to initialize when they are not … #35

Closed germanbisurgi closed 1 year ago

germanbisurgi commented 1 year ago

…the primary selection within either the "oneOf" or "anyOf" options.

example:

{
    "title": "An object",
    "type": "object",
    "properties": {
        "filefly": {
            "type": "string",
            "anyOf": [
                {
                    "format": "filefly"
                },
                {
                    "format": "filefly"
                }
            ]
        },
        "ckeditor": {
            "type": "string",
            "anyOf": [
                {
                    "format": "html"
                },
                {
                    "format": "html"
                }
            ]
        }
    }
}