Przeglądaj źródła

update

reset-do-picking-order
Tommy\2Fi-Staff 6 miesięcy temu
rodzic
commit
d74f5d184b
1 zmienionych plików z 2 dodań i 1 usunięć
  1. +2
    -1
      src/components/StockIn/FgStockInForm.tsx

+ 2
- 1
src/components/StockIn/FgStockInForm.tsx Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz