-
Notifications
You must be signed in to change notification settings - Fork 723
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
Google Map Search doesn't work with accept or enter #300
Comments
Hi @dp4818! Try triggering a focus event like in the code from that issue... I am terribly busy until next week, so I won't have a chance to look at this until then. |
I found my answer! Like this change: function (e, keyboard, el) {
google.maps.event.trigger(el, 'focus', {});
},
accepted: function (e, keyboard, el) {
google.maps.event.trigger(el, 'keydown', { keyCode: 13 });
} Thanks! |
I am having same issue but with dataTables. Here is the fiddle see this issue in actual.
but doesn't work. Any suggestions? |
Hi @tauseefjanjua! I also put this answer in your SO question: $(function() {
var table = $("#example")
.on("init.dt", function() {
$('input[type="search"]').keyboard({
usePreview: false,
change: function(e, kb) {
table.search(kb.el.value).draw();
}
});
})
.DataTable();
}); |
Hi Mottie,
I'm working with Google map, and I found this interesting issue. Thanks.
#242
it's almost what i need, but after typing i can't search with the virtual keyboard,
both enter and accept don't work, but it works when i press enter with physical keyboard.
I've tried to set autoAccept to true and enterNavigation to false, but it still doesn't work.
How can I make it work?
Thanks!
The text was updated successfully, but these errors were encountered: