kahwee / backbone-deep-model

Improved support for models with nested attributes.
MIT License
73 stars 24 forks source link

Can not set property of an array element #123

Closed joexzh closed 7 years ago

joexzh commented 7 years ago

If I write this:

    model.set("arr.0.name", "Joe");

The model is not finding the first element of arr, but created a new property named "arr.0.name", which is not the expected behavior.