Skip to content

Commit 94c3ac2

Browse files
committed
ts: change default value for popup options
1 parent e212d9c commit 94c3ac2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/devextreme/js/__internal/scheduler/utils/options/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const DEFAULT_SCHEDULER_OPTIONS: Properties = {
4444
form: {
4545
iconsShowMode: DEFAULT_ICONS_SHOW_MODE,
4646
},
47-
popup: {},
47+
popup: undefined,
4848
},
4949
showAllDayPanel: true,
5050
showCurrentTimeIndicator: true,
@@ -106,7 +106,7 @@ export const DEFAULT_SCHEDULER_INTERNAL_OPTIONS: SchedulerInternalOptions = {
106106
legacyForm: false,
107107
// @ts-expect-error copy from default so that you can rewrite it
108108
...DEFAULT_SCHEDULER_OPTIONS.editing,
109-
popup: {},
109+
popup: undefined,
110110
},
111111
_draggingMode: 'outlook',
112112
_appointmentTooltipOffset: { x: 0, y: 0 },

packages/devextreme/js/ui/scheduler.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import {
3131
import dxDraggable from './draggable';
3232

3333
import dxForm, { Item as FormItem } from './form';
34-
import dxPopup, { Properties as SchedulerPopupOptions } from './popup';
34+
import dxPopup, { Properties as PopupProperties } from './popup';
3535

3636
import dxSortable from './sortable';
3737
import { dxToolbarItem } from './toolbar';
@@ -667,10 +667,10 @@ export interface dxSchedulerOptions extends WidgetOptions<dxScheduler> {
667667
} | undefined;
668668
/**
669669
* @docid
670-
* @default {}
671670
* @public
671+
* @type PopupProperties
672672
*/
673-
popup?: SchedulerPopupOptions;
673+
popup?: PopupProperties;
674674
};
675675
/**
676676
* @docid

0 commit comments

Comments
 (0)