Filter custom search function does not receive formatted content
Bootstraptable version(s) affected
1.21.3 and onwards (including current dev)
Description
In columns using select filter control (I haven't tested other types), if there is a custom search function and custom data, and search-formatter is true (the default), starting from version 1.21.3 the search function no longer receives the full formatted text for searching. In version 1.21.2 (and before), the full HTML of the formatted content was returned.
Example(s)
https://live.bootstrap-table.com/code/jonatanschroeder/15008
Filtering the "price" column works in 1.21.2, but not in 1.21.3, 1.21.4 or the current develop branch.
Possible Solutions
No response
Additional Context
No response
Since Version 1.21.3 we remove html from the content, because of other filtering issues. Related PR: https://github.com/wenzhixin/bootstrap-table/pull/6574 Related Issue: https://github.com/wenzhixin/bootstrap-table/issues/6528
We could pass the rawValue and the modified value, what do you think @wenzhixin @djhvscf ?