diff --git a/src/features/cart/lib/form.ts b/src/features/cart/lib/form.ts
index efccb3a..d8332d4 100644
--- a/src/features/cart/lib/form.ts
+++ b/src/features/cart/lib/form.ts
@@ -3,6 +3,6 @@ import { z } from 'zod';
export const orderForm = z.object({
long: z.string().min(1, { message: 'Majburiy maydon' }),
lat: z.string().min(1, { message: 'Majburiy maydon' }),
- comment: z.string().min(1, { message: 'Majburiy maydon' }),
+ comment: z.string().max(300, 'Izoh 300 ta belgidan oshmasligi kerak'),
city: z.string().optional(),
});
diff --git a/src/features/cart/ui/OrderPage.tsx b/src/features/cart/ui/OrderPage.tsx
index a0bd648..a503346 100644
--- a/src/features/cart/ui/OrderPage.tsx
+++ b/src/features/cart/ui/OrderPage.tsx
@@ -376,10 +376,14 @@ const OrderPage = () => {