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.

Key with array index saves as object unless array already exists #706

Closed
@philjolly

Description

@philjolly

If i use a key that contains an array index i.e. things[0].stuff it will only save as an array if i have manually added an empty array to the model before a value is entered. If the parent node is empty it saves as an object with a key of "0".

http://jsbin.com/giwihenoyi/edit?html,js,output

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