Browse Source

fix(gui-v2): open menu box only when clicked outside the input box

pull/3169/head
Wing-Kam Wong 2 years ago
parent
commit
54c8e88591
  1. 2
      packages/nc-gui-v2/components/smartsheet/Form.vue

2
packages/nc-gui-v2/components/smartsheet/Form.vue

@ -540,6 +540,7 @@ onMounted(async () => {
class="nc-input" class="nc-input"
:class="`nc-form-input-${element.title.replaceAll(' ', '')}`" :class="`nc-form-input-${element.title.replaceAll(' ', '')}`"
:column="element" :column="element"
@click.stop.prevent
/> />
</a-form-item> </a-form-item>
@ -555,6 +556,7 @@ onMounted(async () => {
:class="`nc-form-input-${element.title.replaceAll(' ', '')}`" :class="`nc-form-input-${element.title.replaceAll(' ', '')}`"
:column="element" :column="element"
:edit-enabled="true" :edit-enabled="true"
@click.stop.prevent
/> />
</a-form-item> </a-form-item>

Loading…
Cancel
Save