Description
This issue was originally filed by jjinux...@google.com
When I used dart:dom, change events would occur whether it was the user changing the HTML element or whether I changed it with code. When I switched to dart:html, I found out that this was no longer true. This caused a bug in my code because I was expecting the change event to occur, and it didn't.
What steps will reproduce the problem?
- Try running the attached version of Tetris.
- If you change the level select, it'll generate an alert.
- Change it to level 10 and hit start.
- Wait until it says "Game over!".
- It'll programmatically reset the level to 1. However, it won't generate an on.change event. Hence, it won't generate a window.alert.
What is the expected output?
Whether I change the value of the HTML select with my mouse or via code, it should still generate an on.change event.
What do you see instead?
It only generates an event when I use my mouse.
What version of the product are you using?
I'm using the latest unstable version of the editor:
Version 0.1.0.201203271110, Build 5891
Dart SDK version 5891
On what operating system?
OS X 10.6
Please provide any additional information below:
I'm using Dartium.
Attachment:
src.tar.gz (33.88 KB)