Skip to content
This repository was archived by the owner on Apr 30, 2018. It is now read-only.
This repository was archived by the owner on Apr 30, 2018. It is now read-only.

Support for nested keys? #154

@lufzle

Description

@lufzle

I'm not sure as I haven't yet tried, but by the looks of https://github.com/formly-js/angular-formly/blob/master/src/directives/formly-field.js#L54 it seems you expect a simple key for the field, right?

To give a concrete example: if I want my model to have a

{
    "name": {
        "last": "...",
        "first": "...",
        "middle": "..."
    }
}

is there a way I can define the key value as "name.last", "name.first", etc...?

I guess it's faster to just go and try, but I'm not sure when I'll be trying this so in the meantime I just ask you :)

Anyway, thanks for this cool module! I'm sure I'll be using it soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions