|
|
|
@@ -290,7 +290,7 @@ return ( |
|
|
|
> |
|
|
|
<DatePicker |
|
|
|
{...field} |
|
|
|
sx={compactFields ? undefined : textfieldSx} |
|
|
|
sx={compactFields ? { width: '100%' } : textfieldSx} |
|
|
|
label={t("productionDate")} |
|
|
|
value={productionDate ? dayjs(productionDate) : undefined} |
|
|
|
format={OUTPUT_DATE_FORMAT} |
|
|
|
@@ -305,6 +305,7 @@ return ( |
|
|
|
inputRef={field.ref} |
|
|
|
slotProps={{ |
|
|
|
textField: { |
|
|
|
fullWidth: true, |
|
|
|
error: Boolean(errors.productionDate?.message), |
|
|
|
helperText: errors.productionDate?.message, |
|
|
|
}, |
|
|
|
|