mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +08:00
fix: update min and max date limits in MobileDateTimePicker (#6735)
This commit is contained in:
parent
ad0b48a26c
commit
f42a4306a8
@ -140,8 +140,8 @@ const MobileDateTimePicker = connect(
|
||||
}}
|
||||
precision={showTime && picker === 'date' ? getPrecision(timeFormat) : picker === 'date' ? 'day' : picker}
|
||||
renderLabel={labelRenderer}
|
||||
min={minDate || rest.min || new Date(1000, 0, 1)}
|
||||
max={maxDate || rest.max || new Date(9999, 11, 31)}
|
||||
min={minDate || rest.min || new Date(1950, 0, 1)}
|
||||
max={maxDate || rest.max || new Date(2050, 11, 31)}
|
||||
onConfirm={(val) => {
|
||||
handleConfirm(val);
|
||||
}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user