{"action":"created","issue":{"url":"https://api.github.com/repos/select2/select2/issues/1712","labels_url":"https://api.github.com/repos/select2/select2/issues/1712/labels{/name}","comments_url":"https://api.github.com/repos/select2/select2/issues/1712/comments","events_url":"https://api.github.com/repos/select2/select2/issues/1712/events","html_url":"https://github.com/select2/select2/issues/1712","id":19411659,"number":1712,"title":"UI Suggestions","user":{"login":"trinzia","id":1952604,"avatar_url":"https://avatars.githubusercontent.com/u/1952604?v=3","gravatar_id":"","url":"https://api.github.com/users/trinzia","html_url":"https://github.com/trinzia","followers_url":"https://api.github.com/users/trinzia/followers","following_url":"https://api.github.com/users/trinzia/following{/other_user}","gists_url":"https://api.github.com/users/trinzia/gists{/gist_id}","starred_url":"https://api.github.com/users/trinzia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trinzia/subscriptions","organizations_url":"https://api.github.com/users/trinzia/orgs","repos_url":"https://api.github.com/users/trinzia/repos","events_url":"https://api.github.com/users/trinzia/events{/privacy}","received_events_url":"https://api.github.com/users/trinzia/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2013-09-12T20:11:36Z","updated_at":"2015-01-09T20:13:49Z","closed_at":"2015-01-09T20:13:49Z","body":"I'd like to suggest a few UI style options.\r\n\r\n1) Option to hide the search input:  I will use one script to style all select boxes on my site, but not every one of my selects requires a text-input search box.  I'm about to try to hide it with css.\r\n\r\n2) Option to widen on click:  I am having difficulty creating a script to widen the search box when it is clicked.  The reason is that whenever I click it in Firefox/Chrome, to try to determine the ID which i should target, it is hidden.  I would like a little option that has a graceful fallback: Use JS to shrink the box on page load, then widen on click.  Or maybe you could tell me what class/ID to target for that.\r\n\r\n3) Option for separate containers:  select2-search-choice and select2-search-field are in the same UL.  This will make it difficult for me to reposition the multi-select search choices using css.  I'd like to be able to place the choices above some search results.\r\n\r\nI'm working on a site which filters a bunch of content, like Zappo's.  Ideally I'd like to be able to have several multi-selects all placing the choices into another container.  For now, I'm working around, but that would be nice long-term.  \r\n\r\n4) Option to put the placeholder into html as data-placeholder.  This would be useful on sites with many select boxes, so I may store them in the html.\r\n\r\nPS - Your script is working nicely with a Lucene search engine.  \r\nThanks so much. :)\r\n"},"comment":{"url":"https://api.github.com/repos/select2/select2/issues/comments/69391895","html_url":"https://github.com/select2/select2/issues/1712#issuecomment-69391895","issue_url":"https://api.github.com/repos/select2/select2/issues/1712","id":69391895,"user":{"login":"kevin-brown","id":1991850,"avatar_url":"https://avatars.githubusercontent.com/u/1991850?v=3","gravatar_id":"","url":"https://api.github.com/users/kevin-brown","html_url":"https://github.com/kevin-brown","followers_url":"https://api.github.com/users/kevin-brown/followers","following_url":"https://api.github.com/users/kevin-brown/following{/other_user}","gists_url":"https://api.github.com/users/kevin-brown/gists{/gist_id}","starred_url":"https://api.github.com/users/kevin-brown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevin-brown/subscriptions","organizations_url":"https://api.github.com/users/kevin-brown/orgs","repos_url":"https://api.github.com/users/kevin-brown/repos","events_url":"https://api.github.com/users/kevin-brown/events{/privacy}","received_events_url":"https://api.github.com/users/kevin-brown/received_events","type":"User","site_admin":false},"created_at":"2015-01-09T20:13:49Z","updated_at":"2015-01-09T20:13:49Z","body":"This should be possible in 4.0.\r\n\r\nIf it is not fixed, please add a :+1: to the ticket to bring it to our attention. Please also include an example that we can test to verify that it is not actually working."}}