feat(sep): adjust combobox filter
This commit is contained in:
No files matched your search
@@ -32,6 +32,7 @@ const props = defineProps<{
|
||||
|
||||
const emit = defineEmits<{
|
||||
(e: 'event', menu: string, value?: any): void
|
||||
(e: 'fetch', value?: any): void
|
||||
}>()
|
||||
|
||||
const isLoading = props.isLoading !== undefined ? props.isLoading : false
|
||||
@@ -292,7 +293,7 @@ watch(props, (value) => {
|
||||
</Label>
|
||||
<Field :errMessage="errors.destinationClinic">
|
||||
<Combobox
|
||||
id="attendingDoctor"
|
||||
id="destinationClinic"
|
||||
v-model="destinationClinic"
|
||||
v-bind="destinationClinicAttrs"
|
||||
:items="facilities"
|
||||
@@ -300,6 +301,7 @@ watch(props, (value) => {
|
||||
placeholder="Pilih Klinik"
|
||||
search-placeholder="Cari Klinik"
|
||||
empty-message="Item tidak ditemukan"
|
||||
@update:searchText="emit('fetch', { menu: 'destinationClinic', value: $event })"
|
||||
/>
|
||||
</Field>
|
||||
</Cell>
|
||||
@@ -348,6 +350,7 @@ watch(props, (value) => {
|
||||
placeholder="Pilih DPJP"
|
||||
search-placeholder="Cari DPJP"
|
||||
empty-message="Item tidak ditemukan"
|
||||
@update:searchText="emit('fetch', { menu: 'attendingDoctor', value: $event })"
|
||||
/>
|
||||
</Field>
|
||||
</Cell>
|
||||
@@ -367,6 +370,7 @@ watch(props, (value) => {
|
||||
placeholder="Pilih Diagnosa Awal"
|
||||
search-placeholder="Cari Diagnosa Awal"
|
||||
empty-message="Item tidak ditemukan"
|
||||
@update:searchText="emit('fetch', { menu: 'initialDiagnosis', value: $event })"
|
||||
/>
|
||||
</Field>
|
||||
</Cell>
|
||||
|
||||
Reference in New Issue
Block a user