Allow targeted form config with `customFormItems`
Allow targeted form config with `customFormItems`

For this schema:

    {
        "schema": {
            "message": {
                "type": "string",
                "title": "Message"
            },
            "author": {
                "type": "object",
                "title": "Author",
                "properties": {
                    "name": {
                        "type": "string",
                        "title": "Name"
                    },
                    "gender": {
                        "type": "string",
                        "title": "Gender",
                        "enum": ["male", "female", "alien"]
                    },
                    "magic": {
                        "type": "integer",
                        "title": "Magic number",
                        "default": 42
                    },
                    "friends": {
                    "type": "array",
                    "items": {
                        "type": "object",
                        "title": "Friend",
                        "properties": {
                            "nick": {
                                "type": "string",
                                "title": "Nickname",
                                "required": true
                            },
                            "gender": {
                                "type": "string",
                                "title": "Gender",
                                "enum": ["male", "female", "alien"]
                            },
                            "age": {
                                "type": "integer",
                                "title": "Age"
                            }
                        }
                    }
                }
                },
                "default": {
                    "gender": "alien",
                    "magic": 36
                }
            }
        }
    }


The following form element IDs will be recognised:

    message
    author
    author.name
    author.gender
    author.magic
    author.friends
    author.friends[]
    author.friends[].nick
    author.friends[].gender
    author.friends[].age


And can be targeted like this:

    {
        "schema": {...
        },
        "customFormItems": {
            "author.name": {
                "type": "ace",
                "aceMode": "html",
                "width": "100%",
                "height": "200px"
            }
        }
    }
mrthan/jsonform-rails