Skip to content

Commit fa1f884

Browse files
author
Alexey Kozenko
committed
fix bug with zero value
1 parent 283266d commit fa1f884

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extensions/filter-control/bootstrap-table-filter-control.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
iOpt = 0;
9292

9393
for (; iOpt < options.length; iOpt++) {
94-
if (options[iOpt].value == value) {
94+
if (options[iOpt].value === value.toString()) {
9595
//The value is nor valid to add
9696
return false;
9797
}

0 commit comments

Comments
 (0)