[{"data":1,"prerenderedAt":192},["ShallowReactive",2],{"project-3840337":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":33,"aspects":34,"strip":40,"post_text":43,"what":44,"said":85,"maker_in_thread":121,"shape":127,"grid":131,"attempts":155,"same_week":156,"maker_shows":15,"maker_hidden":184,"reader_version":185,"card":186},"3840337","checkbox-field","using Backbone to make multiselects useful","title","Show HN: using Backbone to make multiselects useful","http:\u002F\u002Fswizec.github.com\u002Fcheckbox-field\u002F","swizec.github.com","Swizec",1334394449,2012,13,11,1163,1677,70,"shown","dev_tools","frontend ui component","library",[24,25,26,27],"multiselect","backbone","checkbox","javascript ui","roasted",-0.389,{"positive":31,"neutral":31,"mixed":31,"critical":32},1,4,7,{"idea":35,"design":38,"execution":39},{"positive":36,"critical":37},0,2,{"positive":31,"critical":36},{"positive":36,"critical":37},[31,41,42,36,36,36,31,36,41,31,31],3,5,null,{"problem":45,"audience":43,"pricing":43,"motivation":43,"time_to_build":43,"stack":61,"openness":84,"stage":84,"team_size":84},{"value":46,"source":47,"evidence":48},"Multiselect inputs are hard to use for some users and awkward to handle on the backend","commenter",[49,53,57],{"id":50,"by":51,"text":52},"3840557","gmac","A bunch of checkboxes look better, but they are difficult for the backend developer to handle. Really? I've never found this a problem -- and if I did, I wouldn't push a load of…",{"id":54,"by":55,"text":56},"3840441","swombat","Not putting down the project by any means, I'm sure it's useful, but worth pointing out that I just looked at it on my iPad and the \"vanilla multiselect\" was nicer and clearer,…",{"id":58,"by":59,"text":60},"3840497","zidar","While I do agree that the \"vanilla multiselect\" is better on tablets (I just checked on my galaxy tab), I have to point out, that it's only better, because the tablet shows me…",[62,69,76],{"value":63,"source":64,"evidence":65},"Backbone","maker",[66],{"id":67,"by":11,"text":68},"3840531","You're right, I could write it so the only dependency is jQuery. But using Backbone makes the implementation much cleaner and more robust. Especially considering there are three…",{"value":70,"source":47,"evidence":71},"Handlebars",[72],{"id":73,"by":74,"text":75},"3840495","jrnkntl","I don't see the need for the Backbone and Handlebars requirements to accomplish this? Wouldn't writing it as a jQuery plugin or the like suffice?",{"value":77,"source":47,"evidence":78},"jQuery",[79,80],{"id":73,"by":74,"text":75},{"id":81,"by":82,"text":83},"3841161","gillesmaes","I hope you don't mind, made a quick jQuery only version. http:\u002F\u002Fgillesmaes.github.com\u002FMultibox\u002F","unknown",{"praise":86,"objections":92,"requests":105,"questions":111,"alternatives":112},[87],{"value":88,"source":47,"evidence":89},"Checkbox version looks cleaner and is easier on tablets",[90,91],{"id":54,"by":55,"text":56},{"id":58,"by":59,"text":60},[93,101],{"value":94,"source":47,"evidence":95},"Checkboxes are not needed; backend can handle multiselect input directly",[96,97],{"id":50,"by":51,"text":52},{"id":98,"by":99,"text":100},"3843695","alex_duncan","I really don't see the point. The problem it aims to overcome is the handling of the input on the back end, but surely just using checkboxes as an input array would accomplish…",{"value":102,"source":47,"evidence":103},"Backbone dependency is unnecessary; jQuery plugin would suffice",[104],{"id":73,"by":74,"text":75},[106],{"value":107,"source":47,"evidence":108},"Remove Backbone dependency and use jQuery only",[109,110],{"id":73,"by":74,"text":75},{"id":81,"by":82,"text":83},[],[113,117],{"value":114,"source":47,"evidence":115},"Plain HTML checkbox arrays",[116],{"id":98,"by":99,"text":100},{"value":118,"source":47,"evidence":119},"Multibox jQuery-only version",[120],{"id":81,"by":82,"text":83},{"comments":37,"answered":31,"key":122},[123,126],{"id":124,"text":125},"3840538","Yes, I noticed that too. iOS has a particularly lovely way of handling multiselects. However, if you really need to target multiple platforms, there's always media query magic…",{"id":67,"text":68},{"commenters":128,"max_depth":32,"maker_replies":37,"first_comment_mins":129,"lifespan_hours":130},8,55,29,[132,134,136,138,141,144,146,148,150,151,152],[50,36,31,133,51,36],"project\u002Fcritical\u002Fidea",[54,31,41,135,55,36],"project\u002Fmixed\u002Fdesign",[58,31,42,137,59,36],"project\u002Fpositive\u002Fdesign",[139,31,36,140,55,36],"3840520","commenter\u002Fneutral\u002Fnone",[142,31,36,143,59,36],"3840546","commenter\u002Fpositive\u002Fidea",[124,31,36,145,11,31],"project\u002Fneutral\u002Fdesign",[73,37,31,147,74,36],"project\u002Fcritical\u002Fexecution",[67,37,36,149,11,31],"project\u002Fneutral\u002Fexecution",[81,37,41,149,82,36],[98,41,31,133,99,36],[153,32,31,147,154,36],"3840496","josscrowcroft",[],[157,162,166,171,176,181],{"id":158,"name":159,"points":160,"category":161},"3832877","Firebase",526,"infrastructure",{"id":163,"name":164,"points":165,"category":20},"3841370","Rails One Click",92,{"id":167,"name":168,"points":169,"category":170},"3838516","Word Wars",61,"productivity",{"id":172,"name":173,"points":174,"category":175},"3844235","Puppy Showdown",59,"consumer_social",{"id":177,"name":178,"points":179,"category":180},"3833393","Microryza",58,"learning_science",{"id":182,"name":183,"points":179,"category":20},"3834643","Shortly",false,"v2",{"id":187,"name":5,"line":6,"ai":184,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":188,"top":18,"kw":189,"maker":11,"domain":10,"tier":19,"attempts":36,"strip":190,"url":9,"mix":191,"praise":88,"objection":94,"sub":21},3840337,-0.39,[24,25,26,27],"13500010311",[31,31,31,32],1794036494728]