This commit is contained in:
ghost2023
2026-06-17 09:57:46 +03:00
parent 3919464acb
commit c96c863070

View File

@@ -170,13 +170,7 @@ export const bookingFormSchema = z
ctx.addIssue({
code: "custom",
path: ["cargoTypePath"],
message: "Select a freight type.",
});
} else if (!data.cargoTypePath[1]) {
ctx.addIssue({
code: "custom",
path: ["cargoTypePath"],
message: "Select a commodity.",
message: "Select a Cargo type.",
});
}
}