อาชีพไม่บังคับใส่

This commit is contained in:
Kittapath 2023-05-30 14:40:40 +07:00
parent 93f1d74a44
commit 3fd7a8b964
5 changed files with 18 additions and 18 deletions

View file

@ -269,12 +269,11 @@
:readonly="!(status == 'register' || status == 'rejectRegister')"
:borderless="!(status == 'register' || status == 'rejectRegister')"
v-model="defaultInformation.tel"
:rules="[
(val) => !!val || `${'กรุณากรอก โทรศัพท์'}`,
(val) => /^[0-9]*$/.test(val) || `${'กรุณากรอกข้อมูลโทรศัพท์ให้ถูกต้อง'}`
]"
:label="`${'โทรศัพท์'}`"
/>
<!-- :rules="[
(val) => /^[0-9]*$/.test(val) || `${'กรุณากรอกข้อมูลโทรศัพท์ให้ถูกต้อง'}`
]" -->
</div>
<div class="col-xs-12 col-sm-3 col-md-3">
<q-input