ตรวจสอบ กรอกเวลาไม่ครบ 10 หลัก

This commit is contained in:
Net 2024-02-16 09:57:04 +07:00
parent bdeda2d089
commit 75d871fc64
5 changed files with 56 additions and 9 deletions

View file

@ -0,0 +1,4 @@
export function validateTime(input: string) {
if (input.length != 0 && input.length != 10) return true;
return false;
}