diff --git a/apps/edr-freight-web/backoffice/src/components/fleet/FleetFormDialog.tsx b/apps/edr-freight-web/backoffice/src/components/fleet/FleetFormDialog.tsx index 3fd798b08..0df6444c9 100644 --- a/apps/edr-freight-web/backoffice/src/components/fleet/FleetFormDialog.tsx +++ b/apps/edr-freight-web/backoffice/src/components/fleet/FleetFormDialog.tsx @@ -12,6 +12,7 @@ import { Textarea, TextInput, } from "@mantine/core"; +import { DateInput } from "@mantine/dates"; import { FLEET_SELECT_NONE, type FleetFormFieldDef } from "@/pages/fleet/config/resources"; import type { FleetRecord } from "@/services/fleet/fleet.service"; @@ -131,6 +132,7 @@ const FleetFormDialog = ({ setValues((current) => ({ @@ -139,6 +141,7 @@ const FleetFormDialog = ({ })) } error={error} + disabled={field.disabled} /> ); } @@ -148,15 +151,35 @@ const FleetFormDialog = ({