FilterControl bug with data-filter-default
Author: sdespontCreated Sep 30, 2022Updated Jul 7, 2026
Labelsconfirmedfilter-controlBug
Bootstraptable version(s) affected
1.21.1
Description
When an input field has a default value set with data-filter-default, the default value is reused if erased when filter another column.
As you can see in the GIF, the "0" is manually erased, then "Item 1" is filtered and the "0" is displayed again

Example(s)
https://live.bootstrap-table.com/code/sdespont/13009
Possible Solutions
No response
Additional Context
No response
Source: wenzhixin/bootstrap-table