|
|
|
@@ -70,7 +70,7 @@ const M18ImportDo: React.FC<Props> = ({}) => { |
|
|
|
<Box display="flex"> |
|
|
|
<Controller |
|
|
|
control={control} |
|
|
|
name="do.modifiedDateFrom" |
|
|
|
name="do.dDateFrom" |
|
|
|
// rules={{ |
|
|
|
// required: "Please input the date From!", |
|
|
|
// validate: { |
|
|
|
@@ -80,7 +80,7 @@ const M18ImportDo: React.FC<Props> = ({}) => { |
|
|
|
// }} |
|
|
|
render={({ field, fieldState: { error } }) => ( |
|
|
|
<DateTimePicker |
|
|
|
label={t("Modified Date From *")} |
|
|
|
label={t("Delivery Date From *")} |
|
|
|
format={`${OUTPUT_DATE_FORMAT} ${OUTPUT_TIME_FORMAT}`} |
|
|
|
onChange={(newValue: Dayjs | null) => |
|
|
|
handleDateTimePickerOnChange(newValue, field.onChange) |
|
|
|
@@ -104,7 +104,7 @@ const M18ImportDo: React.FC<Props> = ({}) => { |
|
|
|
</Box> |
|
|
|
<Controller |
|
|
|
control={control} |
|
|
|
name="do.modifiedDateTo" |
|
|
|
name="do.dDateTo" |
|
|
|
// rules={{ |
|
|
|
// required: "Please input the date to!", |
|
|
|
// validate: { |
|
|
|
@@ -116,7 +116,7 @@ const M18ImportDo: React.FC<Props> = ({}) => { |
|
|
|
// }} |
|
|
|
render={({ field, fieldState: { error } }) => ( |
|
|
|
<DateTimePicker |
|
|
|
label={t("Modified Date To *")} |
|
|
|
label={t("Delivery Date To *")} |
|
|
|
format={`${OUTPUT_DATE_FORMAT} ${OUTPUT_TIME_FORMAT}`} |
|
|
|
onChange={(newValue: Dayjs | null) => |
|
|
|
handleDateTimePickerOnChange(newValue, field.onChange) |
|
|
|
|