|Official Page:||Go to website|
|Last Update:||June 13, 2018|
This is an HTML <datalist> tag Polyfill to provide the accessible datalist functionality on those browsers that don’t support it.
How to use it:
Assume that you have a dropdown list with with pre-defined values as this:
<datalist id="animallist" title="Suggestions to choose from"> <option value="Cat"> <option value="Cow"> <option value="Dog"> <option value="Horse"> <option value="Lion"> <option value="Pig" disabled> <option value="Zebra"> </datalist>
- Added MutationObserver to even also capture changes to the option elements as a correction to enhance the current functionality.
- Changed some URLs from HTTP to the new kid on the block: HTTPS.
- Additionally did some necessary updates to the documentation.
- Focusing the input[list] after selecting a suggestion
- Some code refactoring