Browse Source

fix(gui): allow typing directly in single select

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4459/head
Pranav C 2 years ago
parent
commit
523105c8b0
  1. 7
      packages/nc-gui/components/cell/SingleSelect.vue

7
packages/nc-gui/components/cell/SingleSelect.vue

@ -102,6 +102,13 @@ useSelectedCellKeyupListener(active, (e) => {
isOpen.value = true isOpen.value = true
} }
break break
default:
// toggle only if char key pressed
if (e.key?.length === 1) {
e.stopPropagation()
isOpen.value = true
}
break
} }
}) })

Loading…
Cancel
Save