Browse Source

Added note to DateField#setRangeStart JavaDoc (#11886)

* Added note to DateField#setRangeStart JavaDoc

* Added additional checking of valid startDate

* Reverted previous commit
reviewable/pr11907/r6
Tatu Lund 1 month ago
parent
commit
f0769be11c
No account linked to committer's email address
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      server/src/main/java/com/vaadin/ui/AbstractDateField.java

+ 2
- 0
server/src/main/java/com/vaadin/ui/AbstractDateField.java View File

@@ -296,6 +296,8 @@ public abstract class AbstractDateField<T extends Temporal & TemporalAdjuster &
* date (taking the resolution into account), the component will not
* validate. If {@code startDate} is set to {@code null}, any value before
* {@code endDate} will be accepted by the range
* <p>
* Note: Negative, i.e. BC dates are not supported
*
* @param startDate
* - the allowed range's start date

Loading…
Cancel
Save