News for hackers. Stuff that matters.
Re:HTML5 Datalist by pav3l on Sunday December 02, 2012 @09:47AM (#4861321)
http://caniuse.com/datalist

Unfortunately still not supported on safari or IE9. Don't rush to throw away those Javascript widgets quite yet.

Re:HTML5 Datalist by sergiotapia on Sunday December 02, 2012 @09:07AM (#4861196)
This... this is phenomenal. Thank you for sharing this link.

This will cut my development time drastically because I use autocomplete on many different pages of an internal web application and I decide what browsers the sales people (85% of the company) use.

I'll for sure install Chrome for them and save the company time and money by using this HTML5 feature. Nice find!

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.

Re:HTML5 Datalist by bookcasey on Sunday December 02, 2012 @11:42AM (#4861660)
Chris Coyier made a great polyfill for datalist: https://github.com/CSS-Tricks/Relevant-Dropdowns
Re:HTML5 Datalist by shannonbailey78 on Sunday December 02, 2012 @10:18AM (#4861403)
Awesome feature, this will autocomplete very easy to implement.
Re:HTML5 Datalist by chris_wot on Sunday December 02, 2012 @08:43AM (#4861144)
Demo didn't work for me on iOS 6...
Re:HTML5 Datalist by y0ghur7_xxx on Sunday December 02, 2012 @08:54AM (#4861164)
It's not supported in iOS, but all recent Desktop browsers implement it (except Safari).

http://caniuse.com/#search=datalist