Skip to content

only can bind with strings? #10

Description

@vance

I have had no luck trying to bind complex objects.

Does not work:

     <template>
            <input id="inputField" type="text" value="{{boundModel.name}}" on-click="{{setFocus}}">
    </template>

where boundModel is a object with property name.

Works:

     <template>
            <input id="inputField" type="text" value="{{boundModel}}" on-click="{{setFocus}}">
    </template>

where boundModel is a string.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions