Browse Source

fix(gui): show dropdown arrow in multiselect

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4957/head
Pranav C 2 years ago
parent
commit
994b53e22c
  1. 4
      packages/nc-gui/components/cell/MultiSelect.vue

4
packages/nc-gui/components/cell/MultiSelect.vue

@ -158,6 +158,8 @@ watch(
) )
watch(isOpen, (n, _o) => { watch(isOpen, (n, _o) => {
if (!n) searchVal.value = ''
if (editAllowed.value) { if (editAllowed.value) {
if (!n) { if (!n) {
aselect.value?.$el?.querySelector('input')?.blur() aselect.value?.$el?.querySelector('input')?.blur()
@ -321,7 +323,7 @@ useEventListener(document, 'click', handleClose, true)
:bordered="false" :bordered="false"
clear-icon clear-icon
show-search show-search
:show-arrow="hasEditRoles && !readOnly && (editable || (active && vModel.length === 0))" :show-arrow="editAllowed && !readOnly"
:open="isOpen && editAllowed" :open="isOpen && editAllowed"
:disabled="readOnly || !editAllowed" :disabled="readOnly || !editAllowed"
:class="{ 'caret-transparent': !hasEditRoles }" :class="{ 'caret-transparent': !hasEditRoles }"

Loading…
Cancel
Save