Show HN: using Backbone to make multiselects useful
swizec.github.com
swizec.github.com
Really? I've never found this a problem -- and if I did, I wouldn't push a load of JavaScript cruft to the front-end to work around it.
And one other thing, using multiselect in a browser with a mouse, I see no easy way of selecting just option 1 and 3, without holding the control key. This might seem perfectly normal to "us", but try telling that to someone with less computer skill. I bet that an average computer user would find the checkbox-field more intuitive.
Please note I said IPad, not tablet. Call me a dick, but I don't believe other tablets are worth considering as part of any relevant target market anyway, at least at this stage.
And to turn your words around a bit, the number of desktop and leptop users surfing the web, is far greater than iPad users, so your iPad should not be considered a target market as well. But that is not the point, even if iPad has this native awesome solution, it's like you're saying "people should just by iPads to be able to use multiselect normally."
This project is simple and easy and in my opinion, it helps make the web a bit nicer for developers and users.
However, if you really need to target multiple platforms, there's always media query magic you can use :)
Especially considering there are three data representations that all have to be in sync:
- the actual multiselect
- the visible checkboxes
- the internal state
I thought about using pure jQuery, but my head soon started spinning and I decided to do it right.
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 the same thing e.g.: http://stackoverflow.com/questions/1010941/html-input-arrays