-
Notifications
You must be signed in to change notification settings - Fork 512
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
Backspacing in search text box doesn't work in IE #410
Comments
Maybe you'll have to enhance the stSearch directive by manually handling the key related to backspace and call the table controller search function with the proper value. Or maybe you should listen to another event than "input" (change maybe) |
#254 might be useful |
It turns out that simply adding "keydown" to the existing "input" listener took care of the problem. Yes there may be unnecessary searches occurring but at least for me, it solved this problem (and performance is not a huge concern in my application). Thanks for the help. |
👍 |
In my application, I have a global search box associated with a table. As I start to type characters, the table is being filtered correctly. However, if I backspace over a character, the table results are not changing. For example, if I have 10 rows in my table, type "A" into the search box that reduces the rows to 7, type "B" that reduces the rows to 5, when I remove "B" (so the search string is only "A"), the number of rows doesn't change (i.e., it is still 5). This does not occur in FF and is only occurring in IE (IE9 to be specific). The only way to get around this is to refresh the page but that is not desirable. Do you have any suggestions?
The text was updated successfully, but these errors were encountered: