udpate setDefaults() for the maxDate
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
658624aadd
commit
bd2b1b0de9
@ -160,7 +160,7 @@ open class CalendarBase: Control, Changeable {
|
|||||||
inactiveDates = []
|
inactiveDates = []
|
||||||
indicators = []
|
indicators = []
|
||||||
minDate = Date()
|
minDate = Date()
|
||||||
maxDate = Date()
|
maxDate = Calendar.current.date(byAdding: .year, value: 10, to: Date())!
|
||||||
selectedDate = Date()
|
selectedDate = Date()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user