Browse Source

fix(nc-gui): set show-search always true

pull/4490/head
Wing-Kam Wong 2 years ago
parent
commit
5d048d37f2
  1. 2
      packages/nc-gui/components/cell/MultiSelect.vue
  2. 2
      packages/nc-gui/components/cell/SingleSelect.vue

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

@ -271,8 +271,8 @@ const onTagClick = (e: Event, onClose: Function) => {
class="w-full"
:bordered="false"
clear-icon
show-search
:show-arrow="!readOnly"
:show-search="active || editable"
:open="isOpen && (active || editable)"
:disabled="readOnly"
:class="{ '!ml-[-8px]': readOnly }"

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

@ -189,7 +189,7 @@ const toggleMenu = (e: Event) => {
:disabled="readOnly"
:show-arrow="!readOnly && (active || editable || vModel === null)"
:dropdown-class-name="`nc-dropdown-single-select-cell ${isOpen ? 'active' : ''}`"
:show-search="active || editable"
show-search
@select="isOpen = false"
@keydown.stop
@search="search"

Loading…
Cancel
Save