Thank you, that indeed was the solution to this problem and a couple of
others.
On Tuesday, February 25, 2014 11:27:17 AM UTC+1, Marcin Warpechowski wrote:
>
> I have problem binding polymer-ui-toggle-button to a boolean value and it
> looks like a bug to me. The toggle receives the initial value from my model
> but does not update the model after a change. Also, two toggles don't
> reflect each other changes. Any ideas?
>
> <polymer-ui-toggle-button
> value="{{isThisFantasy}}"></polymer-ui-toggle-button>
> t2.model = {
> isThisFantasy: true
> };
>
> See the fiddle: http://jsfiddle.net/warpech/Wbk67/
>
> The above fiddle also tries binding to a regular HTML checkbox input. It
> fails, probably because value gets converted to string. Is there a way to
> bind a boolean to a checkbox input?
>
> br
> Marcin
>
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/95bc6c2c-7c2f-4a9d-837b-b96c1028a773%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.