Browse Source

feat(nc-gui): reload data trigger on field change

pull/6292/head
reenphygeorge 1 year ago
parent
commit
612ea41549
  1. 7
      packages/nc-gui/components/smartsheet/toolbar/SearchData.vue

7
packages/nc-gui/components/smartsheet/toolbar/SearchData.vue

@ -58,6 +58,13 @@ const displayColumnLabel = computed(() => {
return columns.value?.find((column) => column.primaryValue)?.label return columns.value?.find((column) => column.primaryValue)?.label
}) })
watch(
() => search.value.field,
() => {
onPressEnter()
}
)
watchDebounced( watchDebounced(
() => search.value.query, () => search.value.query,
() => { () => {

Loading…
Cancel
Save