Browse Source

feat(gui-v2): hide arrow if selected from single select

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/3082/head
mertmit 2 years ago
parent
commit
15b42939a1
  1. 1
      packages/nc-gui-v2/components/cell/SingleSelect.vue

1
packages/nc-gui-v2/components/cell/SingleSelect.vue

@ -72,6 +72,7 @@ watch(isOpen, (n, _o) => {
placeholder="Select an option" placeholder="Select an option"
:bordered="false" :bordered="false"
:open="isOpen" :open="isOpen"
:show-arrow="active || vModel === null"
@select="isOpen = false" @select="isOpen = false"
@keydown="handleKeys" @keydown="handleKeys"
@click="isOpen = !isOpen" @click="isOpen = !isOpen"

Loading…
Cancel
Save