Skip to content

Commit 658efad

Browse files
committed
Fix dead calendar popup on DOM change
1 parent 7e5e07b commit 658efad

File tree

1 file changed

+4
-1
lines changed
  • src/components/form-inputs/calendar/calendar

1 file changed

+4
-1
lines changed

src/components/form-inputs/calendar/calendar/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { _CalendarBase } from './_base';
88
@Component()
99
export abstract class Calendar extends _CalendarBase {
1010

11-
abstract calendarOptions() : {
11+
abstract calendarOptions(): {
1212
icon: string,
1313
type: string
1414
}
@@ -63,6 +63,9 @@ export abstract class Calendar extends _CalendarBase {
6363
type: attr.type,
6464
onChange: (date, text) => {
6565
this.$emit('input', date);
66+
},
67+
popupOptions: {
68+
observeChanges: false
6669
}
6770
}
6871

0 commit comments

Comments
 (0)