Skip to content

Two way data binding #1

@cyrixmorten

Description

@cyrixmorten

So far I have managed to perform a query, auto generate getter/setters, expose the value of my object using the notation {{myObj.getName()}}.

This all works well but I would like to be able to edit the values of myObj, and so far I have not figured out an elegant way to do so.

I would imagine, if the attribute of the getter/setter was exposed, I would be able to use the ng-model notation ng-model="myObj.name".

This would of course not perfom any updates on the database side of parse but it would be rather trivial to implement a saveState() method, to persist the current state of myObj.

I feel like I am missing something and hope that you can point me in the right direction.

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