You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered:
joshuajeschek
changed the title
[extension-filter-control] triggerSearch does not trigger when searchOnEnterKey is true
[extension-filter-control] triggerSearch does nothing when searchOnEnterKey is true
Nov 13, 2023
Bootstraptable version(s) affected
1.22.1
Description
When using
search-on-enter-key="true"
, thetriggerSearch
method no longer works.The reason for this is also quite clear in my opinion - the function definition of
triggerSearch
triggers thekeyup
event on the inputs, which does not lead to a search whensearchOnEnterKey
is enabled.Example(s)
https://live.bootstrap-table.com/code/joshuajeschek/16466
Possible Solutions
a) trigger the enter key event when
dataSearchOnEnterKey
is set totrue
b) find a way to trigger the search without having to simulate interaction events
Additional Context
No response
The text was updated successfully, but these errors were encountered: