bug fixed

This commit is contained in:
Samandar Turgunboyev
2026-03-05 11:49:56 +05:00
parent 382b214e3e
commit a34cf75c57
10 changed files with 249 additions and 292 deletions

View File

@@ -60,8 +60,6 @@ export default function CreateReferrals() {
const validate = () => {
const e: any = {};
if (!form.code || form.code.length !== 9)
e.code = 'Kod aynan 9 ta belgidan iborat bolishi kerak';
if (!form.description || form.description.length < 5)
e.description = 'Tavsif kamida 5 ta belgidan iborat bolishi kerak';