{"action":"created","issue":{"url":"https://api.github.com/repos/vdw/HideSeek/issues/26","repository_url":"https://api.github.com/repos/vdw/HideSeek","labels_url":"https://api.github.com/repos/vdw/HideSeek/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/vdw/HideSeek/issues/26/comments","events_url":"https://api.github.com/repos/vdw/HideSeek/issues/26/events","html_url":"https://github.com/vdw/HideSeek/issues/26","id":141272232,"number":26,"title":"Display results after a certain number of typed chars","user":{"login":"z3d0","id":32240,"avatar_url":"https://avatars.githubusercontent.com/u/32240?v=3","gravatar_id":"","url":"https://api.github.com/users/z3d0","html_url":"https://github.com/z3d0","followers_url":"https://api.github.com/users/z3d0/followers","following_url":"https://api.github.com/users/z3d0/following{/other_user}","gists_url":"https://api.github.com/users/z3d0/gists{/gist_id}","starred_url":"https://api.github.com/users/z3d0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z3d0/subscriptions","organizations_url":"https://api.github.com/users/z3d0/orgs","repos_url":"https://api.github.com/users/z3d0/repos","events_url":"https://api.github.com/users/z3d0/events{/privacy}","received_events_url":"https://api.github.com/users/z3d0/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vdw/HideSeek/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-16T13:18:08Z","updated_at":"2016-03-17T09:39:46Z","closed_at":null,"body":"Hi,\r\nI have a list of 5000 elements and I need to show the results only after the user types at least 3 chars.\r\n\r\nThat's what I did:\r\n\r\n    $('#search').keypress(function() {\r\n\r\n        var value=$.trim($(\"#search\").val());\r\n\t\t\r\n\t\tif(value.length > 2 && isNaN(value))\r\n\t\t{\r\n \t\t\t$('#list').show();\r\n\t\t}\t\r\n\t\t\t\r\n    });\r\n\r\nthe problem is that for every char that the user types, the list is updated in the background and that slows a lot the typing.\r\n\r\nThanks for any help"},"comment":{"url":"https://api.github.com/repos/vdw/HideSeek/issues/comments/197789850","html_url":"https://github.com/vdw/HideSeek/issues/26#issuecomment-197789850","issue_url":"https://api.github.com/repos/vdw/HideSeek/issues/26","id":197789850,"user":{"login":"vdw","id":1730123,"avatar_url":"https://avatars.githubusercontent.com/u/1730123?v=3","gravatar_id":"","url":"https://api.github.com/users/vdw","html_url":"https://github.com/vdw","followers_url":"https://api.github.com/users/vdw/followers","following_url":"https://api.github.com/users/vdw/following{/other_user}","gists_url":"https://api.github.com/users/vdw/gists{/gist_id}","starred_url":"https://api.github.com/users/vdw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdw/subscriptions","organizations_url":"https://api.github.com/users/vdw/orgs","repos_url":"https://api.github.com/users/vdw/repos","events_url":"https://api.github.com/users/vdw/events{/privacy}","received_events_url":"https://api.github.com/users/vdw/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T09:39:46Z","updated_at":"2016-03-17T09:39:46Z","body":"Hi, \r\n\r\nat version [0.7.1](https://github.com/vdw/HideSeek/tree/v0.7.1) you can set the option `min_chars` to `3` (default value is `1`) in order to set the minimum required characters to search.\r\n\r\nE.g.\r\n\r\n```\r\n$('#search').hideseek({\r\n    min_chars: 3\r\n});\r\n```\r\n\r\nThank you for your request,\r\nd"}}