diff --git a/index.d.ts b/index.d.ts index 043f60e1..ec2ae89d 100644 --- a/index.d.ts +++ b/index.d.ts @@ -199,6 +199,7 @@ export interface VueDatePickerProps { rangeSeparator?: string; selectOnFocus?: boolean; format?: string | string[] | ((value: string) => Date | null); + escClose?: boolean; }; monthNameFormat?: 'long' | 'short'; startDate?: string | Date; diff --git a/src/VueDatePicker/components/DatepickerInput.vue b/src/VueDatePicker/components/DatepickerInput.vue index 08f9f8d9..c010966b 100644 --- a/src/VueDatePicker/components/DatepickerInput.vue +++ b/src/VueDatePicker/components/DatepickerInput.vue @@ -58,11 +58,13 @@ @click="emit('toggle')" /> -