Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m50s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m50s
This commit is contained in:
commit
c2bcd7c249
1 changed files with 6 additions and 1 deletions
|
|
@ -474,7 +474,12 @@ watch(
|
|||
outlined
|
||||
dense
|
||||
:type="isPwd ? 'password' : 'text'"
|
||||
:rules="[(val:string) => !!val || `${'กรุณากรอกรหัสผู้ใช้งาน'}`,]"
|
||||
:rules="[(val:string) => !!val || 'กรุณากรอกรหัสผู้ใช้งาน',
|
||||
(val:string) => {
|
||||
const regex = /^[A-Za-z0-9!@#$%&*]+$/;
|
||||
return regex.test(val) || 'รหัสผู้ใช้งานต้องมีเฉพาะภาษาอังกฤษ ตัวเลข และอักขระพิเศษ (! @ # $ % & *) เท่านั้น';
|
||||
}
|
||||
]"
|
||||
lazy-rules
|
||||
label="รหัสผู้ใช้งาน"
|
||||
hide-bottom-space
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue