We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcc7b25 commit daa0a93Copy full SHA for daa0a93
packages/admin/dashboard/src/routes/products/product-create/constants.ts
@@ -19,10 +19,10 @@ const ProductCreateVariantSchema = z.object({
19
barcode: z.string().optional(),
20
mid_code: z.string().optional(),
21
hs_code: z.string().optional(),
22
- width: optionalInt,
23
- height: optionalInt,
24
- length: optionalInt,
25
- weight: optionalInt,
+ width: optionalFloat,
+ height: optionalFloat,
+ length: optionalFloat,
+ weight: optionalFloat,
26
material: z.string().optional(),
27
origin_country: z.string().optional(),
28
sku: z.string().optional(),
0 commit comments