feat(Multiselect): hide multiselect during loading
This commit is contained in:
parent
51660f7677
commit
bc2baa3bbd
@ -324,7 +324,7 @@ const hasMultiple = computed(() => {
|
|||||||
return props.multiple && Array.isArray(internalValue.value) && internalValue.value.length > 0
|
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() {
|
function resetSelectedValue() {
|
||||||
select(null)
|
select(null)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user