validate
This commit is contained in:
parent
d4b436fb9d
commit
0e9ed9362d
1 changed files with 9 additions and 0 deletions
|
|
@ -495,6 +495,9 @@ onMounted(async () => {
|
|||
:options="groupNameOp"
|
||||
use-input
|
||||
@filter="(inputValue:any,doneFn:Function) => filterOptionGroup(inputValue, doneFn) "
|
||||
hide-bottom-space
|
||||
lazy-rules
|
||||
:rules="[(val:string) => !!val || `${'กรุณาเลือกกลุ่มงาน'}`,]"
|
||||
>
|
||||
<template v-slot:no-option>
|
||||
<q-item>
|
||||
|
|
@ -518,6 +521,9 @@ onMounted(async () => {
|
|||
option-label="name"
|
||||
option-value="name"
|
||||
:options="positionOp"
|
||||
:rules="[(val:string) => !!val || `${'กรุณาเลือกตำแหน่ง'}`,]"
|
||||
hide-bottom-space
|
||||
lazy-rules
|
||||
use-input
|
||||
@filter="(inputValue:any,doneFn:Function) => filterOption(inputValue, doneFn) "
|
||||
>
|
||||
|
|
@ -542,6 +548,9 @@ onMounted(async () => {
|
|||
map-options
|
||||
option-label="name"
|
||||
option-value="id"
|
||||
:rules="[(val:string) => !!val || `${'กรุณาเลือกสมรรถนะประจำกลุ่ม'}`,]"
|
||||
hide-bottom-space
|
||||
lazy-rules
|
||||
:options="competencyOp"
|
||||
use-input
|
||||
@filter="(inputValue:any,doneFn:Function) => filterOptionCompetency(inputValue, doneFn) "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue