'HTML5 datalist tag is not working in android
I am using the datalist tag to provide auto-complete to an input text. The tag is working fine on desktop chrome but it's not working when I test it on my phone( Android) can any one help ? If not can you suggest a way to do auto-complete
Solution 1:[1]
http://caniuse.com/datalist check here, android browser not supports. so you have use jquerymobile or other framework.
Solution 2:[2]
Android browser is a webKit based browser so it does not support Datalist tag therefore it ignores the code which is included in the Datalist tag.
See a small solution HERE! (in section Datalist for old browsers), hope it will work for you.
Solution 3:[3]
HTML5 datalist does not work in Chrome 96 on Android on HTTP connections. Works on HTTPS connections.
Tested localy.
Can be checked with HTTPS here:
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_datalist
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Umesh |
Solution 2 | Shantanu |
Solution 3 | Tux |