bootstrap-table icon indicating copy to clipboard operation
bootstrap-table copied to clipboard

[extension-filter-control] triggerSearch does nothing when searchOnEnterKey is true

Open joshuajeschek opened this issue 2 years ago • 1 comments

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

joshuajeschek avatar Nov 09 '23 12:11 joshuajeschek

This is still an issue.

mholtermann avatar Jan 15 '25 02:01 mholtermann