Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bound Polymer variables not updating (problem w/ observable?) #15512

DartBot opened this issue Dec 7, 2013 · 4 comments


Copy link

commented Dec 7, 2013

This issue was originally filed by

What steps will reproduce the problem?

  1. Define and use the example at
  2. Click the button

Per the example, the text below the button should update to reflect the number of times the button has been clicked. The text always says "0 times".

This is with:

Dart VM version: (Tue Nov 12 01:15:45 2013) on "linux_x64"

And a pubspec.yaml that includes only:

  polymer: any

BUT, if I explicitly downgrade observable to 0.9.0:

  polymer: any
  observe: "0.9.0+1"

It works.


This comment has been minimized.

Copy link

commented Dec 9, 2013

Added Area-Polymer, Triaged labels.


This comment has been minimized.

Copy link

commented Feb 5, 2014

Added Library-Polymer label.


This comment has been minimized.

Copy link

commented May 14, 2014

polymer:any unfortunately will sometimes pick up very old versions :(. Let me know if this still shows up for you with:

polymer: ">=0.9.5 <0.10.0"

Added AssumedStale label.


This comment has been minimized.

Copy link

commented May 15, 2014

This comment was originally written by

Unfortunately, this still happens. It's not quite as bad as it used to be. Actually, it may not even be a true bug anymore.

The attached, installed in pubspec.yaml, web/index.html, lib/click-counter.html, and lib/click_counter.dart, and pub installed, will currently run with Polymer 0.9.5+2.

If you pub serve the application, access it in Dartium, and click the “Click Me” button, the counter is not updated. It won't work in other browsers due to a lack of a pubspec.yaml transformer.

My expectation is that, even without a transformer, this ought to still work in Dartium. The element is evaluated and added to the page as expected. But the observable variable is not updated.

Perhaps it is unreasonable to expect that this work without a transformer, but it used to (a long while back) and everything else does. Not a huge bug and there is a workaround.

Perhaps just a note in documentation somewhere?

pubspec.yaml (54 Bytes)
index.html (271 Bytes)
click-counter.html (260 Bytes)
click_counter.dart (296 Bytes)

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
5 participants
You can’t perform that action at this time.