ตรวจสอบ กรอกเวลาไม่ครบ 10 หลัก
This commit is contained in:
parent
bdeda2d089
commit
75d871fc64
5 changed files with 56 additions and 9 deletions
4
src/modules/04_registry/stores/time.ts
Normal file
4
src/modules/04_registry/stores/time.ts
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
export function validateTime(input: string) {
|
||||
if (input.length != 0 && input.length != 10) return true;
|
||||
return false;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue