Why does ValueChangeHandler fire twice for DateBox?

434 views
Skip to first unread message

Brandon Donnelson

unread,
Mar 10, 2012, 4:37:28 PM3/10/12
to google-we...@googlegroups.com

Why does ValueChangeHandler fire twice for DateBox? Issue 4785: http://code.google.com/p/google-web-toolkit/issues/detail?id=4785

The DateBox value change event fires twice in my Editor:

    @UiField DateBox yearStart; 
   
   
//...

    yearStart
.addValueChangeHandler(new ValueChangeHandler<Date>() {
     
public void onValueChange(ValueChangeEvent<Date> event) {
        drawAreYouSure
(1, event.getValue());
     
}
   
});

Please star the issue for a fix :)

Brandon Donnelson

Message has been deleted

Brandon Donnelson

unread,
Mar 10, 2012, 4:44:51 PM3/10/12
to google-we...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages