diff --git a/apps/edr-freight-web/backoffice/src/components/ruleEngine/RuleEngineFormDialog.tsx b/apps/edr-freight-web/backoffice/src/components/ruleEngine/RuleEngineFormDialog.tsx
index 8c67b9eb3..bb2a428d8 100644
--- a/apps/edr-freight-web/backoffice/src/components/ruleEngine/RuleEngineFormDialog.tsx
+++ b/apps/edr-freight-web/backoffice/src/components/ruleEngine/RuleEngineFormDialog.tsx
@@ -1,4 +1,5 @@
import { useEffect, useMemo, useState } from "react";
+import { DateInput } from "@mantine/dates";
import { Loader2, Plus, Trash2 } from "lucide-react";
import {
ActionIcon,
@@ -162,16 +163,6 @@ const inputStyles = {
label: { fontWeight: 600, marginBottom: 6, color: "var(--mantine-color-gray-8)" },
} as const;
-const FieldLabel = ({ label, required }: { label: string; required?: boolean }) => (
-
- {label}
- {required ? (
-
- *
-
- ) : null}
-
-);
const RuleEngineFormDialog = ({
open,
@@ -405,7 +396,11 @@ const RuleEngineFormDialog = ({
);
}
- const label = ;
+ // A plain string, so Mantine renders the label and its required asterisk
+ // itself. Passing an element here put a flex box inside the