diff --git a/src/digital-components/date-picker/date-picker.vue b/src/digital-components/date-picker/date-picker.vue
index f38df0372..f48b1f43b 100644
--- a/src/digital-components/date-picker/date-picker.vue
+++ b/src/digital-components/date-picker/date-picker.vue
@@ -281,7 +281,7 @@ export default {
if (event.screenX === 0 && event.screenY === 0) {
return;
}
- this.$emit("date-selected", date);
+ this.$emit("date-clicked", date);
},
getWeekStartDate(dateString) {
const date = convertDateStringToDate(dateString);
@@ -846,6 +846,12 @@ export default {
},
},
watch: {
+ isLoading(newValue) {
+ // if done loading dates, then set to first available date
+ if (newValue === false && this.firstAvailableSelectableDate) {
+ this.selectedDate = this.firstAvailableSelectableDate;
+ }
+ },
modelValue(newValue) {
this.resetField({
value: newValue,
diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue
index e0edcd544..654c7b01a 100644
--- a/src/layouts/schedule/schedule.vue
+++ b/src/layouts/schedule/schedule.vue
@@ -133,6 +133,8 @@
:isOvernightDropoff="isOvernightDropoff" />