bootstrap-table
bootstrap-table copied to clipboard
[extension-filter-control] triggerSearch does nothing when searchOnEnterKey is true
Bootstraptable version(s) affected
1.22.1
Description
When using search-on-enter-key="true", the triggerSearch method no longer works.
The reason for this is also quite clear in my opinion - the function definition of triggerSearch triggers the keyup event on the inputs, which does not lead to a search when searchOnEnterKey is enabled.
Example(s)
https://live.bootstrap-table.com/code/joshuajeschek/16466
Possible Solutions
a) trigger the enter key event when dataSearchOnEnterKey is set to true
b) find a way to trigger the search without having to simulate interaction events
Additional Context
No response
This is still an issue.