]> source.dussan.org Git - vaadin-framework.git/commit
DateField ValueChange is now fired after flags are set (#14487)
authorGuillermo Alvarez <guillermo@vaadin.com>
Fri, 5 Sep 2014 11:07:49 +0000 (14:07 +0300)
committerVaadin Code Review <review@vaadin.com>
Tue, 9 Sep 2014 11:51:57 +0000 (11:51 +0000)
commitca2c0a91bcec3410958ec2ae79366a42b248b311
tree97c0a25870bffb748d6444c84efced778eec2e70
parent986ba87d32ebaa52dd2a87d8c6fa02d9eb873f61
DateField ValueChange is now fired after flags are set (#14487)

When the UI had an invalid string the ValueChange event was fired
before setting all the flags causing an invalid isValid result when
handling ValueChange. Now the event is fired after the flags are set.

Change-Id: Ie4e6ba21edc81bf41c2c661aa27e0ace71e1bef0
server/src/com/vaadin/ui/DateField.java
uitest/src/com/vaadin/tests/components/datefield/DateFieldIsValid.java [new file with mode: 0644]
uitest/src/com/vaadin/tests/components/datefield/DateFieldIsValidTest.java [new file with mode: 0644]