|
|
|
@ -31,9 +31,7 @@ export class DynamicDateTimeCombo extends Single {
|
|
|
|
|
iconWidth: 24 |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
props = () => { |
|
|
|
|
const date = getDate(); |
|
|
|
|
return { |
|
|
|
|
props = { |
|
|
|
|
baseCls: "bi-dynamic-date--time-combo", |
|
|
|
|
height: 24, |
|
|
|
|
minDate: "1900-01-01", |
|
|
|
@ -42,18 +40,11 @@ export class DynamicDateTimeCombo extends Single {
|
|
|
|
|
allowEdit: true, |
|
|
|
|
supportDynamic: true, |
|
|
|
|
attributes: { |
|
|
|
|
tabIndex: -1 |
|
|
|
|
tabIndex: -1, |
|
|
|
|
}, |
|
|
|
|
isNeedAdjustHeight: false, |
|
|
|
|
isNeedAdjustWidth: false, |
|
|
|
|
value: { |
|
|
|
|
type: DynamicDateTimeCombo.Static, |
|
|
|
|
value: { |
|
|
|
|
year: date.getFullYear(), |
|
|
|
|
month: date.getMonth() + 1 |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
value: null, |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
static EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; |
|
|
|
|