Skip to content

Commit

Permalink
Update polyfills
Browse files Browse the repository at this point in the history
  • Loading branch information
mischah committed Mar 4, 2019
1 parent 37f22e3 commit bde1e52
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions posts/datalist.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ feature: <datalist>
status: use
tags: polyfill gtie9 nomobile
kind: html
polyfillurls: [Relevant Dropdowns](http://css-tricks.com/relevant-dropdowns-polyfill-for-datalist/)
polyfillurls: [datalist-polyfill](https://github.com/mfranzke/datalist-polyfill), [Relevant Dropdowns](http://css-tricks.com/relevant-dropdowns-polyfill-for-datalist/)

[`<datalist>`](http://developers.whatwg.org/the-button-element.html#the-datalist-element) enables autocomplete combo boxes. It can be polyfilled well with the script below, though it [doesn’t support](https://github.com/h5bp/html5please/issues/18) the full feature. You may want to use a full fledged solution like [Selectize](http://selectize.github.io/selectize.js/) instead. You can also use a [graceful fallback](http://adactio.com/journal/4272/) if you choose not to polyfill.
[`<datalist>`](http://developers.whatwg.org/the-button-element.html#the-datalist-element) enables autocomplete combo boxes.

It can be polyfilled (for IE 9 and Safari) with the scripts below, though they have [varying levels](https://github.com/h5bp/html5please/issues/18) of support for the full feature. You can also use a [graceful fallback](http://adactio.com/journal/4272/) if you choose not to polyfill.

Please make sure to check [caniuse](https://caniuse.com/#feat=datalist) regarding partial support even in modern browsers.

0 comments on commit bde1e52

Please sign in to comment.