You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please allow the initialSelectedDate to be equal to startDate or endDate.
Usecase is to set the startDate AND the initialSelectedDate to now()
if (initialSelectedDate != null &&
startDate != null &&
!initialSelectedDate!.isAfter(startDate!)) {
throw Exception('initialSelectedDate must be a date after startDate');
}
if (initialSelectedDate != null &&
endDate != null &&
!initialSelectedDate!.isBefore(endDate!)) {
throw Exception('initialSelectedDate must be a date before endDate');
}
The text was updated successfully, but these errors were encountered:
Please allow the
initialSelectedDate
to be equal tostartDate
orendDate
.Usecase is to set the
startDate
AND theinitialSelectedDate
tonow()
The text was updated successfully, but these errors were encountered: