Skip to content
This repository was archived by the owner on Dec 19, 2017. It is now read-only.
This repository was archived by the owner on Dec 19, 2017. It is now read-only.

core-list-dart: it´s not possible access variable (@observable) outside data attribute #193

@supermuka

Description

@supermuka

Original (and more details) on:
http://stackoverflow.com/questions/28544403/core-list-dart-how-access-variable-observable-outside-data-attribute

I'm trying to apply a filter through a variable (asDateTime) for a given column to the core-list-dart.

This variable is outside of the content data attribute (model). When I access this variable, an error is throws.

Exception: Uncaught Error: Error evaluating expression '(model.dataVencimento | asDateTime)': Class '_ListModel' has no instance getter 'asDateTime'.
NoSuchMethodError: method not found: 'asDateTime' Receiver: Instance of '_ListModel' Arguments: []

Second comments on stackoverflow, in JS it´s works. Apparently this is a bug.

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