Browse Source

fix: reset pagination on search

pull/6423/head
DarkPhoenix2704 1 year ago
parent
commit
a3fe183313
  1. 1
      packages/nc-gui/components/virtual-cell/components/ListChildItems.vue
  2. 1
      packages/nc-gui/components/virtual-cell/components/ListItems.vue

1
packages/nc-gui/components/virtual-cell/components/ListChildItems.vue

@ -152,6 +152,7 @@ watch(expandedFormDlg, () => {
@focus="isFocused = true"
@blur="isFocused = false"
@keydown.capture.stop
@change="childrenListPagination.page = 1"
>
</a-input>
</div>

1
packages/nc-gui/components/virtual-cell/components/ListItems.vue

@ -176,6 +176,7 @@ watch(expandedFormDlg, () => {
@focus="isFocused = true"
@blur="isFocused = false"
@keydown.capture.stop
@change="childrenExcludedListPagination.page = 1"
>
</a-input>
</div>

Loading…
Cancel
Save