Display: Allow to BaseSelect component to emit change event

pull/5649/head
Angel Fernando Quiroz Campos 1 year ago
parent 00e9687057
commit 36fb8965e1
No known key found for this signature in database
GPG Key ID: B284841AE3E562CD
  1. 3
      assets/vue/components/basecomponents/BaseSelect.vue

@ -11,6 +11,7 @@
:loading="isLoading"
:show-clear="allowClear"
@update:model-value="emit('update:modelValue', $event)"
@change="emit('change', $event)"
>
<template #emptyfilter>--</template>
<template #empty>
@ -84,7 +85,7 @@ const props = defineProps({
},
})
const emit = defineEmits(["update:modelValue"])
const emit = defineEmits(["update:modelValue", "change"])
const realOptions = computed(() => {
if (props.hastEmptyValue) {

Loading…
Cancel
Save