ソースを参照

Update bootstrap-table.js

After press Clear Filter button and clear filter input, the table view is not updated.
With this patch, the table view is update correctly after clearing filter.
manukieli 6 年 前
コミット
e21ca4d694
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -724,7 +724,7 @@ class BootstrapTable {
         $(currentTarget).val(text)
       }
 
-      if (this.searchText === text) {
+      if (this.searchText === text && text.length > 0) {
         return
       }