Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

While it is nice to have, datalists are currently lacking in common functionality and are no real substitute for fully featured autocompletes. For example, datalist only matches the beginning of the values. Typing "soft" into a datalist will not match "Microsoft".

There are some other limitations discussed here: http://msdn.microsoft.com/en-us/magazine/dn133614.aspx



Hugh's point is incredibly important. You don't really want one hundred thousand <option> elements in your DOM as your "auto-complete" solution.

To be honest, datalists are pretty worthless for every situation where I've needed to implement auto-complete functionality in projects, simply because the universe of possible entries has been always been huge.


I just noticed Firefox has implemented fuzzy matching, if you type "soft" into a datalist will match "Microsoft".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: