File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Bootstrap table displays data in a tabular format and offers rich support to rad
2323- [x] Fix #138 : IE8 search data and remove method error.
2424- [x] Fix bug: sorter does not work in some case.
2525- [x] Add ` bootstrap-table-nl-NL.js ` and ` bootstrap-table-el-GR.js ` .
26- - [x] Support search without data-field set.
26+ - [x] Support search without data-field set, trim search input .
2727- [x] Fix #81 : Allow the ` class ` to be applied to the radio or checkbox row.
2828- [x] Fix #135 , #142 : Search use formatted data.
2929- [x] Verify search text before send queryParams.
Original file line number Diff line number Diff line change 570570 BootstrapTable . prototype . onSearch = function ( event ) {
571571 var text = $ . trim ( $ ( event . currentTarget ) . val ( ) ) ;
572572
573+ // trim search input
574+ $ ( event . currentTarget ) . val ( text ) ;
575+
573576 if ( text === this . searchText ) {
574577 return ;
575578 }
You can’t perform that action at this time.
0 commit comments