Tatu Lund
a486f64809
Set DateField value only if it passes range check (#11887)
Fixes #11108
hace 4 años
Tatu Lund
f0769be11c
Added note to DateField#setRangeStart JavaDoc (#11886)
* Added note to DateField#setRangeStart JavaDoc
* Added additional checking of valid startDate
* Reverted previous commit
hace 4 años
Zhe Sun
4523d31e6d
Update Chrome version, snapshots and fix tests (#11684)
hace 4 años
Zhe Sun
7bda912a77
Separates a rpc for handling the client event order in DateTimeField (#11574)
* Using @Delayed annotation for DateField Rpc
* Separate a rpc for handling the time change in DateTimeField
* Add test case for wrong event order
hace 5 años
Sun Zhe
dd0b0f44c4
Correct the logic for validation used in DateField (#11307)
Fixes #11276
Refactor the code and correct the logic for validation
Rename an internal variable, as it contains more than one type of messages
hace 5 años
Anastasia Smirnova
78b1dc1439
Force re-updating the resolutions of DateField (#11159)
Fixes #11099
hace 5 años
Ilia Motornyi
16335d3aba
Fix formatting of some files (#10972)
hace 6 años
Alexander Nittka
76230f8b16
Remove parse error when changing from invalid to empty date text (#10771)
Fixes #10673 .
hace 6 años
Anastasia Smirnova
4dec38e73d
Handle UnparsableDateString correctly (#10803)
Resolves #10681
hace 6 años
Teemu Suo-Anttila
78daf54cbf
Update release notes and since tags for 8.4 (#10760)
hace 6 años
Ilia Motornyi
6541b7bad2
Update copyright year (#10761)
hace 6 años
Ilia Motornyi
ec314ee921
Fix date ranges for date and datetime fields (#10685)
Fixes #9765
hace 6 años
Adam Wagner
75b98bee62
Add ARIA label support to DateField (#10538)
Fixes #10454
hace 6 años
Leif Åstrand
531320c505
Tweak date style API (#10493)
* Disallow some `null` arguments
* Return an unmodifiable map from getDateStyles(). This helps the
developer understand that changes to the returned map are
not automatically applied to the component.
* Remove redundant `@link` markup from `@see` in the javadocs.
hace 6 años
Teemu Suo-Anttila
580d607444
Add missing since tags and JavaDocs (#10487)
hace 6 años
Anna Koskinen
edc3b08def
Allow setting custom styles to DateField calendar date cells (#10305)
Fixes #10304
hace 6 años
Teemu Suo-Anttila
ed57efc07e
Update since tags in JavaDoc (#10325)
hace 6 años
Ahmed Ashour
d44a5e217d
Fix end of line comments, which were made by automatic formatter (#10234)
hace 6 años
Ahmed Ashour
7c8f440781
Remove trailing spaces (#10224)
hace 6 años
Ahmed Ashour
3929d0ac6f
AbstractDateField.formatDate() to be abstract (#10186)
* AbstractDateField.formatDate to be abstract
Remove invalidDateString paramter, as it can be deduced
* Fix test
* Remove AbstractDateField.getResolutionVariable
VAbstractTextualDate: rename updateDateVariables() to updateBufferedResolutions()
* Revert to use fixed value of MONDAY.
* release notes
* updateAndSendBufferedValues()
* Missed call to updateAndSendBufferedValues();
* release note
hace 6 años
Ahmed Ashour
70ba487b62
AbstractDateField: set value after being invalid (#10187)
Fixes #9763
Fixes #9978
hace 6 años
Ahmed Ashour
dd5597d901
Convert AbstractDateField not to be a LegacyComponent (#10148)
hace 6 años
Ahmed Ashour
c520767bf1
Handle 'z' (timezone) in AbstractDateField.setDateFormat() (#8844)
hace 6 años
Marco Collovati
89693cf448
Show validation error selecting invalid date from DateField (#10013)
Component error was cleared after selecting a date from
calendar popup, even if the date is invalid due to
validation errors or if user programmatically sets an UserError.
This change inverts the order of setValue() and setComponentError(null) in order
to preserve errors set by ValueChangeListeners (e.g. Binder validators).
Fixes #10011
hace 6 años
Olli Tietäväinen
66e68f1ef2
Enable setting non-selected default value for DateField (#9745)
Requested feature: allow setting DateField to a certain starting point without selecting a value.
hace 6 años
Ilia Motornyi
7b9a09edbf
Fix AbstractDateField parsing and errors handling, support locale (#9740)
Fixes #9518
Fixes #8991
Fixes #8687
hace 6 años
Teemu Suo-Anttila
dde0f91af4
Add internal state validators for HasValue (#9532)
This also fixes/improves AbstractDateField validation.
hace 7 años
Ilia Motornyi
9c3868e897
Add an optional HasValue to a ValueContext
hace 7 años
Leif Åstrand
07d56a9ca0
Add a maven plugin for formatting according to Eclipse settings
Running formatter:format will format all files in a submodule using an
embedded Eclipse compiler (based on Neon SR1)
according to the regular formatting settings file.
hace 7 años
Aleksi Hietanen
923b42e549
Include old value in ValueChangeEvent (#8229)
* Include old value in ValueChangeEvent
hace 7 años
Denis
3ef30789d6
Refactor AbstractDateField. (#8146)
First round for #8132 .
hace 7 años
Pekka Hyvönen
66e7b3df3d
Rename com.vaadin.data.util.converter to com.vaadin.data.converter
hace 7 años
Denis
5778c65bde
Don't use V8 FieldEvents classes in v7 compatibility module. (#93)
* Don't use V8 FieldEvents classes in v7 compatibility module.
Fixes vaadin/framework8-issues#363
hace 7 años
Leif Åstrand
68ea8ea63d
Refactor listener registration creation to reduce boilerplate
Change-Id: I9feaad000cb16351d281d1c0037330dfb76186ff
hace 7 años
Denis Anisimov
e4d132f4cb
Introduces ValidationResult interface to replace Result in validators.
Fixes vaadin/framework8-issues#414
Change-Id: I2d4e101f29542fadfdd30ce63455a0e078e0e735
hace 7 años
Teemu Suo-Anttila
524a69fd2d
Add ValueContext to Validators
Change-Id: I2ac99adf1fdb60dc0638e6fe98c4542ebd5f21a5
hace 7 años
Teemu Suo-Anttila
63d218efc0
Fix setValue() methods behavior null argument value + javadocs
Change-Id: I0000c1caf7c129634473161fe4876931f3c8dabf
hace 7 años
Denis Anisimov
862270140d
Update ValueChange API to use Component and HasValue<>.
Change-Id: I785aa82d925cadee42cc1b17d345a8923f6dc8cc
hace 7 años
Denis Anisimov
d36d63fefa
Make AbstractDateField based on LocalDate (#125).
Change-Id: I33a4a4f0f3437a8d1733031a131afbe844c12afb
hace 7 años
Aleksi Hietanen
2bee988272
Unify listeners on the server side
This patch updates server side add*Listener methods to return
a registration object and deprecates their corresponding
remove*Listener methods.
Additionally this patch removes add/removeListener methods which were
deprecated in 7.0.
Change-Id: I26ac5f11882512288fbbf601c7cb2aaff653ec76
hace 7 años
Denis Anisimov
0052d59a31
Update DateRangeValidator to be LocalDate based (#320).
Change-Id: I46500d5dd740b806bfa8c3849c54253c6ae92187
hace 7 años
Denis Anisimov
d078a5d7db
Rename PopupDateField to DateField #297.
DateField becomes abstract AbstractDateField, PopupDateField becomes
DateField
Change-Id: I3ac1e02d8754f0770b6a30222cb0fb2a1b9db07b
hace 7 años
Artur Signell
588f3cc7f8
Update copyright year to 2016
Change-Id: I6485dee1ebba12b180a9063ed4b530f7dc63cd77
hace 7 años
Artur Signell
eeffa805a2
Remove trailing whitespace from code and javadoc
Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
hace 7 años
Denis Anisimov
87118c4b94
Derive DateField from new AbstractField (#57).
Change-Id: I5efe17253ecd28dad5a2250076246a9eb30eec62
hace 7 años
Denis Anisimov
bb9564db42
Move old DateField components to legacy package (pre-#57).
Change-Id: I9e766be232d90aab92b5daa77351f4b0a3933f1d
hace 7 años
Artur Signell
192e93a814
Move and rename converters into com.vaadin.legacy.data.util.converter.Legacy*
Change-Id: I75fd33e66c8c5c265bc60cce58ff639a5d5642ab
hace 7 años
Denis Anisimov
314eb377dd
Move old validators to legacy package (pre-#87).
Change-Id: If6212ff2b7da0e87b3c68a3372b5f0b5a2a55b1a
hace 7 años
Denis Anisimov
fd651d7921
Move Validator and Validatable into legacy package.
Change-Id: I7f8e9b1f7dff40ca76933cdf1978e3749f390142
hace 7 años
Johannes Dahlström
f6f111b88f
Rename Field, AbstractField to legacy names
Change-Id: I46ce708e0f10e4c9fa3d11a2aef5be0248c2999f
hace 7 años