Skip to content

Observable list's length attribute does not update with live binding using dot separated accessors #267

@imjoshdean

Description

@imjoshdean

Ran into this issue today wherein if I have an observable with an attribute that is an observable list, and I want to display the length of that list within a view, it would not update using the following syntax:

observable.attr('list.length')

A simple example can be seen here: http://jsfiddle.net/LRtZc/2/

A workaround for this is to use:

observable.attr('list').attr('length')

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions