{"action":"created","issue":{"url":"https://api.github.com/repos/davidstutz/bootstrap-multiselect/issues/429","labels_url":"https://api.github.com/repos/davidstutz/bootstrap-multiselect/issues/429/labels{/name}","comments_url":"https://api.github.com/repos/davidstutz/bootstrap-multiselect/issues/429/comments","events_url":"https://api.github.com/repos/davidstutz/bootstrap-multiselect/issues/429/events","html_url":"https://github.com/davidstutz/bootstrap-multiselect/issues/429","id":48803485,"number":429,"title":"Summarize based on text width, not hard-coded limit of 4 choices","user":{"login":"MelGrubb","id":1153287,"avatar_url":"https://avatars.githubusercontent.com/u/1153287?v=3","gravatar_id":"","url":"https://api.github.com/users/MelGrubb","html_url":"https://github.com/MelGrubb","followers_url":"https://api.github.com/users/MelGrubb/followers","following_url":"https://api.github.com/users/MelGrubb/following{/other_user}","gists_url":"https://api.github.com/users/MelGrubb/gists{/gist_id}","starred_url":"https://api.github.com/users/MelGrubb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MelGrubb/subscriptions","organizations_url":"https://api.github.com/users/MelGrubb/orgs","repos_url":"https://api.github.com/users/MelGrubb/repos","events_url":"https://api.github.com/users/MelGrubb/events{/privacy}","received_events_url":"https://api.github.com/users/MelGrubb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-11-14T15:43:47Z","updated_at":"2015-02-12T22:01:29Z","closed_at":null,"body":"It seems that as soon as you select 4 items, the title turns into a summary. It would be nice if this were dynamic based on the width of the text instead. I have a drop-down list of Ohio counties, and only an md-2 column to display it in. Since some counties names can be rather long (e.g. Ashtabula, Champaign, Columbiana), just selecting three of them causes the text to wrap outside of the control.\r\n\r\nI would like to see two things.\r\n1) The text becomes abbreviated based on whether or not it would wrap. (e.g. \"3 selected\")\r\n2) A choice to simply cut off the text rather than switching to a summary (e.g. \"Ashtabula, Champai...\")\r\n\r\nSince the tooltip already shows all the selected items, I think the second choice would look nice in most cases."},"comment":{"url":"https://api.github.com/repos/davidstutz/bootstrap-multiselect/issues/comments/74162551","html_url":"https://github.com/davidstutz/bootstrap-multiselect/issues/429#issuecomment-74162551","issue_url":"https://api.github.com/repos/davidstutz/bootstrap-multiselect/issues/429","id":74162551,"user":{"login":"davidstutz","id":1203091,"avatar_url":"https://avatars.githubusercontent.com/u/1203091?v=3","gravatar_id":"","url":"https://api.github.com/users/davidstutz","html_url":"https://github.com/davidstutz","followers_url":"https://api.github.com/users/davidstutz/followers","following_url":"https://api.github.com/users/davidstutz/following{/other_user}","gists_url":"https://api.github.com/users/davidstutz/gists{/gist_id}","starred_url":"https://api.github.com/users/davidstutz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidstutz/subscriptions","organizations_url":"https://api.github.com/users/davidstutz/orgs","repos_url":"https://api.github.com/users/davidstutz/repos","events_url":"https://api.github.com/users/davidstutz/events{/privacy}","received_events_url":"https://api.github.com/users/davidstutz/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T22:01:29Z","updated_at":"2015-02-12T22:01:29Z","body":"Would definitely be great options, I will have a look at @Tyf0x's pull request. Thanks in advance, @Tyf0x!"}}