Skip to content

Error parsing bindings with length attribute #124

@jekuno

Description

@jekuno

There's a bug in Epoxy with model attributes called length.

Let's say I have an app which stores measures of vegetables e.g. weight and length.
The default Epoxy setup doesn't work:
http://jsfiddle.net/7dddfuh8/0/

The error message in the provided example:

uncaught exception: Error parsing bindings: "value:weight,events:['keyup']"
ReferenceError: weight is not defined

The same setup works when renaming all length attributes:
http://jsfiddle.net/7dddfuh8/1/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions