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.
I have had no luck trying to bind complex objects.
Does not work:
where
boundModelis a object with property name.Works:
where
boundModelis a string.