News for hackers. Stuff that matters.
Re:HTML5 Datalist by pessimism on Sunday December 02, 2012 @09:56AM (#4861353)
This is truly great, and might actually be something I could use—although it needs to interface with a list of hundreds or thousands of entries. I don’t know if it is scalable in that case. Probably not, if it needs to display the entire list, which means that this intended for a relatively small list.

I recently had the non-existent pleasure—on the same project—of implementing a fall-back for the `datetime-local` input type, which is only available on very few browsers, even though it is absolutely critical to a good mobile experience.

This fails very gracefully compared to the `datetime-local` input type turning into a `text` input.

This is one of the perks of using Opera as my default desktop browser, by the way. Shame so many developers choose to ban it.

Re:HTML5 Datalist by Achshar on Sunday December 02, 2012 @10:31AM (#4861442)
I have also thought of using them. One option if it doesn't scale is use ajax and get list from servers from what user types and still use this to skip the js/css work. Still reduces the work needed by quiet a bit.
Re:HTML5 Datalist by pessimism on Sunday December 02, 2012 @10:33AM (#4861450)
Definitely. It just seems to go against the intent. But it’s not like my project isn’t littered with JS files, so a line of JavaScript more or less probably won’t make much of a dent. Especially when it is a fairly lightweight service.

I already have a fair amount of HTML5 fall-back code and whatnot.