fix(quality): request was missing the forced selection

This commit is contained in:
2025-11-17 17:07:23 -06:00
parent aba1668d2c
commit 96c3e4c24a

View File

@@ -45,6 +45,12 @@ export default function RequestPallet() {
"You did not change the running number, please add a valid running number",
);
}
if (value.moveTo === "") {
return toast.error(
"Please select where you would like the pallets taken to.",
);
}
const postData = {
runningNr: Number(value.runningNr),
moveTo: value.moveTo,