1
0

feat(Multiselect): hide multiselect during loading

This commit is contained in:
Dominik Pschenitschni 2024-07-03 09:32:04 +02:00 committed by konrad
parent 51660f7677
commit bc2baa3bbd

View File

@ -324,7 +324,7 @@ const hasMultiple = computed(() => {
return props.multiple && Array.isArray(internalValue.value) && internalValue.value.length > 0
})
const removalAvailable = computed(() => !props.multiple && internalValue.value !== null && query.value !== '')
const removalAvailable = computed(() => !props.multiple && internalValue.value !== null && query.value !== '' && !(props.loading || localLoading.value))
function resetSelectedValue() {
select(null)
}