Browse Source

fix(gui): block event bubbling

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4459/head
Pranav C 2 years ago
parent
commit
043cbcf4e7
  1. 2
      packages/nc-gui/components/cell/MultiSelect.vue
  2. 3
      packages/nc-gui/composables/useColumnCreateStore.ts

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

@ -259,7 +259,7 @@ const onTagClick = (e: Event, onClose: Function) => {
:class="{ '!ml-[-8px]': readOnly }"
:dropdown-class-name="`nc-dropdown-multi-select-cell ${isOpen ? 'active' : ''}`"
@search="search"
@keydown.enter.stop
@keydown.stop
@click="isOpen = (active || editable) && !isOpen"
>
<a-select-option

3
packages/nc-gui/composables/useColumnCreateStore.ts

@ -195,9 +195,6 @@ const [useProvideColumnCreateStore, useColumnCreateStore] = createInjectionState
try {
if (!(await validate())) return
} catch (e) {
console.log(e)
console.trace()
const errorMsgs = e.errorFields
?.map((e: any) => e.errors?.join(', '))
.filter(Boolean)

Loading…
Cancel
Save