mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
refactor(FE-212): update qty validation in PurchaseRequestForm schema to enforce numeric input
This commit is contained in:
@@ -35,7 +35,7 @@ type PurchaseRequestFormSchemaType = {
|
||||
label: string;
|
||||
} | null;
|
||||
product_id: number;
|
||||
qty: number | string;
|
||||
qty: number;
|
||||
}[];
|
||||
};
|
||||
|
||||
@@ -50,7 +50,7 @@ export type PurchaseItemSchema = {
|
||||
label: string;
|
||||
} | null;
|
||||
product_id: number;
|
||||
qty: number | string;
|
||||
qty: number;
|
||||
};
|
||||
|
||||
const PurchaseItemObjectSchema: Yup.ObjectSchema<PurchaseItemSchema> =
|
||||
|
||||
Reference in New Issue
Block a user