เพิ่ม input ความรู้ความสามารถ

This commit is contained in:
Kittapath 2023-03-16 22:04:03 +07:00
parent e67e2be713
commit 04be324441
2 changed files with 18 additions and 1 deletions

View file

@ -273,6 +273,21 @@
mask="##########"
/>
</div>
<div class="col-xs-12 col-sm-12 col-md-12">
<q-input
:class="getClass(edit)"
hide-bottom-space
:outlined="edit"
dense
lazy-rules
:readonly="!edit"
:borderless="!edit"
v-model="informaData.knowledge"
:rules="[(val) => !!val || `${'กรุณากรอก ความรู้ความสามารถพิเศษ'}`]"
label="ความรู้ความสามารถพิเศษ"
type="textarea"
/>
</div>
</div>
</q-form>
</q-card>

View file

@ -31,6 +31,7 @@ interface Information {
provinceId: string
cardIdDate: Date
statusId: string
knowledge: string
}
interface Family {
@ -125,7 +126,8 @@ const defaultInformation: Information = {
email: 'kittapath@frappet.com',
provinceId: 'กรุงเทพ',
cardIdDate: new Date('2000-01-10'),
statusId: 'โสด'
statusId: 'โสด',
knowledge: 'excel, word, photoshop'
}
const defaultFamily: Family = {