Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
joshuajeschek opened this issue Nov 9, 2023 · 0 comments
Labels
Bug Issues which are marked as Bug

Comments

@joshuajeschek
Copy link

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 joshuajeschek added the Bug Issues which are marked as Bug label Nov 9, 2023
@joshuajeschek 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues which are marked as Bug
Projects
None yet
Development

No branches or pull requests

1 participant