{"action":"created","issue":{"url":"https://api.github.com/repos/cubecart/v6/issues/112","labels_url":"https://api.github.com/repos/cubecart/v6/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/cubecart/v6/issues/112/comments","events_url":"https://api.github.com/repos/cubecart/v6/issues/112/events","html_url":"https://github.com/cubecart/v6/issues/112","id":55287890,"number":112,"title":"One-item drop-downs","user":{"login":"hairydogltd","id":10561885,"avatar_url":"https://avatars.githubusercontent.com/u/10561885?v=3","gravatar_id":"","url":"https://api.github.com/users/hairydogltd","html_url":"https://github.com/hairydogltd","followers_url":"https://api.github.com/users/hairydogltd/followers","following_url":"https://api.github.com/users/hairydogltd/following{/other_user}","gists_url":"https://api.github.com/users/hairydogltd/gists{/gist_id}","starred_url":"https://api.github.com/users/hairydogltd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairydogltd/subscriptions","organizations_url":"https://api.github.com/users/hairydogltd/orgs","repos_url":"https://api.github.com/users/hairydogltd/repos","events_url":"https://api.github.com/users/hairydogltd/events{/privacy}","received_events_url":"https://api.github.com/users/hairydogltd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cubecart/v6/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"abrookbanks","id":4520803,"avatar_url":"https://avatars.githubusercontent.com/u/4520803?v=3","gravatar_id":"","url":"https://api.github.com/users/abrookbanks","html_url":"https://github.com/abrookbanks","followers_url":"https://api.github.com/users/abrookbanks/followers","following_url":"https://api.github.com/users/abrookbanks/following{/other_user}","gists_url":"https://api.github.com/users/abrookbanks/gists{/gist_id}","starred_url":"https://api.github.com/users/abrookbanks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abrookbanks/subscriptions","organizations_url":"https://api.github.com/users/abrookbanks/orgs","repos_url":"https://api.github.com/users/abrookbanks/repos","events_url":"https://api.github.com/users/abrookbanks/events{/privacy}","received_events_url":"https://api.github.com/users/abrookbanks/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/cubecart/v6/milestones/5","labels_url":"https://api.github.com/repos/cubecart/v6/milestones/5/labels","id":947309,"number":5,"title":"6.0.0b4","description":"","creator":{"login":"abrookbanks","id":4520803,"avatar_url":"https://avatars.githubusercontent.com/u/4520803?v=3","gravatar_id":"","url":"https://api.github.com/users/abrookbanks","html_url":"https://github.com/abrookbanks","followers_url":"https://api.github.com/users/abrookbanks/followers","following_url":"https://api.github.com/users/abrookbanks/following{/other_user}","gists_url":"https://api.github.com/users/abrookbanks/gists{/gist_id}","starred_url":"https://api.github.com/users/abrookbanks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abrookbanks/subscriptions","organizations_url":"https://api.github.com/users/abrookbanks/orgs","repos_url":"https://api.github.com/users/abrookbanks/repos","events_url":"https://api.github.com/users/abrookbanks/events{/privacy}","received_events_url":"https://api.github.com/users/abrookbanks/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":13,"state":"open","created_at":"2015-01-22T18:59:26Z","updated_at":"2015-01-26T19:35:43Z","due_on":"2015-02-05T00:00:00Z","closed_at":null},"comments":5,"created_at":"2015-01-23T14:38:16Z","updated_at":"2015-01-26T20:01:01Z","closed_at":null,"body":"When there is only one option in a list (such as delivery address or delivery method), why is there a drop-down list with just one option? \r\n\r\nIt would be more user-friendly if a listbox was only offered when there was a choice."},"comment":{"url":"https://api.github.com/repos/cubecart/v6/issues/comments/71527211","html_url":"https://github.com/cubecart/v6/issues/112#issuecomment-71527211","issue_url":"https://api.github.com/repos/cubecart/v6/issues/112","id":71527211,"user":{"login":"hairydogltd","id":10561885,"avatar_url":"https://avatars.githubusercontent.com/u/10561885?v=3","gravatar_id":"","url":"https://api.github.com/users/hairydogltd","html_url":"https://github.com/hairydogltd","followers_url":"https://api.github.com/users/hairydogltd/followers","following_url":"https://api.github.com/users/hairydogltd/following{/other_user}","gists_url":"https://api.github.com/users/hairydogltd/gists{/gist_id}","starred_url":"https://api.github.com/users/hairydogltd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairydogltd/subscriptions","organizations_url":"https://api.github.com/users/hairydogltd/orgs","repos_url":"https://api.github.com/users/hairydogltd/repos","events_url":"https://api.github.com/users/hairydogltd/events{/privacy}","received_events_url":"https://api.github.com/users/hairydogltd/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T20:01:01Z","updated_at":"2015-01-26T20:01:01Z","body":"Fair enough. Let's give the reasons. There may only be one payment method, one delivery method, one delivery address. \r\n\r\nThe opposite can be true too, though!\r\nSometimes it is good to make the customer actively choose, even if there is just one option in stock.\r\n\r\nOne of our clients sells LED lights in a range of shades of white (chosen from \"extra warm/warm/commercial/natural/pure/bright/cool\"). They actively make the customer choose a colour to be sure the customer has not just settled for the default - but they use radio buttons, not drop-downs. With radio buttons, you can see the available range at a glance: no need to open a list. With a drop-down, users often scroll the mouse wheel and change the option without noticing."}}