We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02e9b67 commit 036831dCopy full SHA for 036831d
src/components/DataTable.vue
@@ -508,11 +508,12 @@ function handleOk(fieldsList) {
508
509
function handleSearchInput(value, source) {
510
if (source === 'button') {
511
+ searchTimeout.value && clearTimeout(searchTimeout.value);
512
emits('search-button-click', value);
513
return;
514
}
515
- if (!props.withSearchButton) {
516
+ if (!props.withSearchButton && source === 'input') {
517
clearTimeout(searchTimeout.value);
518
searchTimeout.value = setTimeout(() => {
519
emits('search', value);
0 commit comments