Fixed clear search bug when clicking clearSearch button
@@ -7,6 +7,10 @@ ChangeLog
- **New:** Added `sortBy` method.
+#### Extensions
+
+- **Update(addrbar):** Fixed clear search bug when clicking clearSearch button.
### 1.21.4
#### Core
@@ -132,6 +132,11 @@ $.BootstrapTable = class extends $.BootstrapTable {
super.init(...args)
}
+ resetSearch (text) {
+ super.resetSearch(text)
+ this.options.searchText = text || ''
+ }
/*
* Priority order:
* The value specified by the user has the highest priority.