{"action":"created","issue":{"url":"https://api.github.com/repos/algolia/instantsearch.js/issues/25","labels_url":"https://api.github.com/repos/algolia/instantsearch.js/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/algolia/instantsearch.js/issues/25/comments","events_url":"https://api.github.com/repos/algolia/instantsearch.js/issues/25/events","html_url":"https://github.com/algolia/instantsearch.js/issues/25","id":98636197,"number":25,"title":"[searchBox] allow to instantiate on an <input>","user":{"login":"vvo","id":123822,"avatar_url":"https://avatars.githubusercontent.com/u/123822?v=3","gravatar_id":"","url":"https://api.github.com/users/vvo","html_url":"https://github.com/vvo","followers_url":"https://api.github.com/users/vvo/followers","following_url":"https://api.github.com/users/vvo/following{/other_user}","gists_url":"https://api.github.com/users/vvo/gists{/gist_id}","starred_url":"https://api.github.com/users/vvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvo/subscriptions","organizations_url":"https://api.github.com/users/vvo/orgs","repos_url":"https://api.github.com/users/vvo/repos","events_url":"https://api.github.com/users/vvo/events{/privacy}","received_events_url":"https://api.github.com/users/vvo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/algolia/instantsearch.js/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"vvo","id":123822,"avatar_url":"https://avatars.githubusercontent.com/u/123822?v=3","gravatar_id":"","url":"https://api.github.com/users/vvo","html_url":"https://github.com/vvo","followers_url":"https://api.github.com/users/vvo/followers","following_url":"https://api.github.com/users/vvo/following{/other_user}","gists_url":"https://api.github.com/users/vvo/gists{/gist_id}","starred_url":"https://api.github.com/users/vvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvo/subscriptions","organizations_url":"https://api.github.com/users/vvo/orgs","repos_url":"https://api.github.com/users/vvo/repos","events_url":"https://api.github.com/users/vvo/events{/privacy}","received_events_url":"https://api.github.com/users/vvo/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/algolia/instantsearch.js/milestones/1","html_url":"https://github.com/algolia/instantsearch.js/milestones/0.0.1","labels_url":"https://api.github.com/repos/algolia/instantsearch.js/milestones/1/labels","id":1241608,"number":1,"title":"0.0.1","description":"With 0.0.1, we should be able to reproduce the [instant search demo](http://demos.algolia.com/instant-search-demo/) using instantsearch.js.","creator":{"login":"vvo","id":123822,"avatar_url":"https://avatars.githubusercontent.com/u/123822?v=3","gravatar_id":"","url":"https://api.github.com/users/vvo","html_url":"https://github.com/vvo","followers_url":"https://api.github.com/users/vvo/followers","following_url":"https://api.github.com/users/vvo/following{/other_user}","gists_url":"https://api.github.com/users/vvo/gists{/gist_id}","starred_url":"https://api.github.com/users/vvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvo/subscriptions","organizations_url":"https://api.github.com/users/vvo/orgs","repos_url":"https://api.github.com/users/vvo/repos","events_url":"https://api.github.com/users/vvo/events{/privacy}","received_events_url":"https://api.github.com/users/vvo/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":1,"state":"open","created_at":"2015-08-05T08:30:59Z","updated_at":"2015-08-06T12:00:01Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2015-08-02T20:44:38Z","updated_at":"2015-08-06T15:31:58Z","closed_at":null,"body":"Following what [@redox said](https://github.com/algolia/instantsearch.js/commit/0881b02b69dcda820cfbd402a9711e500a74723e#commitcomment-12480725):\r\n\r\nCurrent SearchBox instantiation API cannot work in this use case (common one):\r\n\r\n```html\r\n    <div class=\"input-group\">\r\n      <span class=\"input-group-btn\">\r\n        <button class=\"btn btn-default\" type=\"button\">Go!</button>\r\n      </span>\r\n      <input type=\"text\" class=\"form-control\" placeholder=\"Search for...\"> <!-- I cannot have a wrapping div here -->\r\n    </div>\r\n```\r\n\r\nBecause we always have a wrapping DIV in our current SearchBox instantiation. We render the `<input>` where we were asked for.\r\n\r\n## TODO:\r\n- [ ] reimplement the searchBox widget using vanilla JavaScript to allow enhancing an `input`\r\n\r\nPS: We might be able at some point with REACT do also enhance an existing DOM node but that's not currently feasible unfortunately."},"comment":{"url":"https://api.github.com/repos/algolia/instantsearch.js/issues/comments/128411401","html_url":"https://github.com/algolia/instantsearch.js/issues/25#issuecomment-128411401","issue_url":"https://api.github.com/repos/algolia/instantsearch.js/issues/25","id":128411401,"user":{"login":"vvo","id":123822,"avatar_url":"https://avatars.githubusercontent.com/u/123822?v=3","gravatar_id":"","url":"https://api.github.com/users/vvo","html_url":"https://github.com/vvo","followers_url":"https://api.github.com/users/vvo/followers","following_url":"https://api.github.com/users/vvo/following{/other_user}","gists_url":"https://api.github.com/users/vvo/gists{/gist_id}","starred_url":"https://api.github.com/users/vvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvo/subscriptions","organizations_url":"https://api.github.com/users/vvo/orgs","repos_url":"https://api.github.com/users/vvo/repos","events_url":"https://api.github.com/users/vvo/events{/privacy}","received_events_url":"https://api.github.com/users/vvo/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T15:31:58Z","updated_at":"2015-08-06T15:31:58Z","body":"> It's for magento integration. It would require to have the instant search input to be completely generated.\r\n\r\nI am sorry I am still not seeing the issue or question (maybe there is no question)."}}