validate เบอร์โทร

This commit is contained in:
AnandaTon 2023-11-23 16:25:52 +07:00
parent 2c510e775d
commit a1d35ac078

View file

@ -245,6 +245,8 @@ function onValidate() {
label="เบอร์โทร"
ref="phoneRef"
for="phoneRef"
type="tel"
mask="##########"
hide-bottom-space
:rules="[(val: string) => !!val || `${'กรุณากรอกเบอร์โทร'}`]"
/>