datalist.json 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  1. {
  2. "title":"Datalist element",
  3. "description":"Method of setting a list of options for a user to select in a text field, while leaving the ability to enter a custom value.",
  4. "spec":"https://html.spec.whatwg.org/multipage/forms.html#the-datalist-element",
  5. "status":"ls",
  6. "links":[
  7. {
  8. "url":"https://hacks.mozilla.org/2010/11/firefox-4-html5-forms/",
  9. "title":"Mozilla Hacks article"
  10. },
  11. {
  12. "url":"http://afarkas.github.com/webshim/demos/",
  13. "title":"HTML5 Library including datalist support"
  14. },
  15. {
  16. "url":"https://developer.mozilla.org/en/HTML/Element/datalist",
  17. "title":"MDN Web Docs - datalist"
  18. },
  19. {
  20. "url":"https://www.webplatform.org/docs/html/elements/datalist",
  21. "title":"WebPlatform Docs"
  22. },
  23. {
  24. "url":"http://demo.agektmr.com/datalist/",
  25. "title":"Eiji Kitamura's options demos & tests"
  26. },
  27. {
  28. "url":"https://github.com/thgreasi/datalist-polyfill",
  29. "title":"Minimal Datalist polyfill w/tutorial"
  30. },
  31. {
  32. "url":"https://github.com/mfranzke/datalist-polyfill",
  33. "title":"Minimal and library dependency-free vanilla JavaScript polyfill"
  34. }
  35. ],
  36. "bugs":[
  37. {
  38. "description":"In UIWebView Apps in iOS 12.2, using the datalist element may cause the input type to become incapable of being able to type in it despite not supporting it."
  39. }
  40. ],
  41. "categories":[
  42. "HTML5"
  43. ],
  44. "stats":{
  45. "ie":{
  46. "5.5":"n",
  47. "6":"p",
  48. "7":"p",
  49. "8":"p",
  50. "9":"p",
  51. "10":"a #2",
  52. "11":"a #2"
  53. },
  54. "edge":{
  55. "12":"a #2",
  56. "13":"a #2",
  57. "14":"a #2",
  58. "15":"a #2",
  59. "16":"a #2 #4",
  60. "17":"a #2 #4",
  61. "18":"a #2 #4",
  62. "76":"y"
  63. },
  64. "firefox":{
  65. "2":"p",
  66. "3":"p",
  67. "3.5":"p",
  68. "3.6":"p",
  69. "4":"a #3",
  70. "5":"a #3",
  71. "6":"a #3",
  72. "7":"a #3",
  73. "8":"a #3",
  74. "9":"a #3",
  75. "10":"a #3",
  76. "11":"a #3",
  77. "12":"a #3",
  78. "13":"a #3",
  79. "14":"a #3",
  80. "15":"a #3",
  81. "16":"a #3",
  82. "17":"a #3",
  83. "18":"a #3",
  84. "19":"a #3",
  85. "20":"a #3",
  86. "21":"a #3",
  87. "22":"a #3",
  88. "23":"a #3",
  89. "24":"a #3",
  90. "25":"a #3",
  91. "26":"a #3",
  92. "27":"a #3",
  93. "28":"a #3",
  94. "29":"a #3",
  95. "30":"a #3",
  96. "31":"a #3",
  97. "32":"a #3",
  98. "33":"a #3",
  99. "34":"a #3",
  100. "35":"a #3",
  101. "36":"a #3",
  102. "37":"a #3",
  103. "38":"a #3",
  104. "39":"a #3",
  105. "40":"a #3",
  106. "41":"a #3",
  107. "42":"a #3",
  108. "43":"a #3",
  109. "44":"a #3",
  110. "45":"a #3",
  111. "46":"a #3",
  112. "47":"a #3",
  113. "48":"a #3",
  114. "49":"a #3",
  115. "50":"a #3",
  116. "51":"a #3",
  117. "52":"a #3",
  118. "53":"a #3",
  119. "54":"a #3",
  120. "55":"a #3",
  121. "56":"a #3",
  122. "57":"a #3",
  123. "58":"a #3",
  124. "59":"a #3",
  125. "60":"a #3",
  126. "61":"a #3",
  127. "62":"a #3",
  128. "63":"a #3",
  129. "64":"a #3",
  130. "65":"a #3",
  131. "66":"a #3",
  132. "67":"a #3",
  133. "68":"a #3",
  134. "69":"a #3",
  135. "70":"a #3",
  136. "71":"a #3"
  137. },
  138. "chrome":{
  139. "4":"p",
  140. "5":"p",
  141. "6":"p",
  142. "7":"p",
  143. "8":"p",
  144. "9":"p",
  145. "10":"p",
  146. "11":"p",
  147. "12":"p",
  148. "13":"p",
  149. "14":"p",
  150. "15":"p",
  151. "16":"p",
  152. "17":"p",
  153. "18":"p",
  154. "19":"p",
  155. "20":"a #1",
  156. "21":"a #1",
  157. "22":"a #1",
  158. "23":"a #1",
  159. "24":"a #1",
  160. "25":"a #1",
  161. "26":"a #1",
  162. "27":"a #1",
  163. "28":"a #1",
  164. "29":"a #1",
  165. "30":"a #1",
  166. "31":"a #1",
  167. "32":"a #1",
  168. "33":"a #1",
  169. "34":"a #1",
  170. "35":"a #1",
  171. "36":"a #1",
  172. "37":"a #1",
  173. "38":"a #1",
  174. "39":"a #1",
  175. "40":"a #1",
  176. "41":"a #1",
  177. "42":"a #1",
  178. "43":"a #1",
  179. "44":"a #1",
  180. "45":"a #1",
  181. "46":"a #1",
  182. "47":"a #1",
  183. "48":"a #1",
  184. "49":"a #1",
  185. "50":"a #1",
  186. "51":"a #1",
  187. "52":"a #1",
  188. "53":"a #1",
  189. "54":"a #1",
  190. "55":"a #1",
  191. "56":"a #1",
  192. "57":"a #1",
  193. "58":"a #1",
  194. "59":"a #1",
  195. "60":"a #1",
  196. "61":"a #1",
  197. "62":"a #1",
  198. "63":"a #1",
  199. "64":"a #1",
  200. "65":"a #1",
  201. "66":"a #1",
  202. "67":"a #1",
  203. "68":"a #1",
  204. "69":"y",
  205. "70":"y",
  206. "71":"y",
  207. "72":"y",
  208. "73":"y",
  209. "74":"y",
  210. "75":"y",
  211. "76":"y",
  212. "77":"y",
  213. "78":"y",
  214. "79":"y"
  215. },
  216. "safari":{
  217. "3.1":"p",
  218. "3.2":"p",
  219. "4":"p",
  220. "5":"p",
  221. "5.1":"p",
  222. "6":"p",
  223. "6.1":"p",
  224. "7":"p",
  225. "7.1":"p",
  226. "8":"p",
  227. "9":"p",
  228. "9.1":"p",
  229. "10":"p",
  230. "10.1":"p",
  231. "11":"p",
  232. "11.1":"p",
  233. "12":"p",
  234. "12.1":"y",
  235. "13":"y",
  236. "TP":"y"
  237. },
  238. "opera":{
  239. "9":"y",
  240. "9.5-9.6":"y",
  241. "10.0-10.1":"y",
  242. "10.5":"y",
  243. "10.6":"y",
  244. "11":"y",
  245. "11.1":"y",
  246. "11.5":"y",
  247. "11.6":"y",
  248. "12":"y",
  249. "12.1":"y",
  250. "15":"a #1",
  251. "16":"a #1",
  252. "17":"a #1",
  253. "18":"a #1",
  254. "19":"a #1",
  255. "20":"a #1",
  256. "21":"a #1",
  257. "22":"a #1",
  258. "23":"a #1",
  259. "24":"a #1",
  260. "25":"a #1",
  261. "26":"a #1",
  262. "27":"a #1",
  263. "28":"a #1",
  264. "29":"a #1",
  265. "30":"a #1",
  266. "31":"a #1",
  267. "32":"a #1",
  268. "33":"a #1",
  269. "34":"a #1",
  270. "35":"a #1",
  271. "36":"a #1",
  272. "37":"a #1",
  273. "38":"a #1",
  274. "39":"a #1",
  275. "40":"a #1",
  276. "41":"a #1",
  277. "42":"a #1",
  278. "43":"a #1",
  279. "44":"a #1",
  280. "45":"a #1",
  281. "46":"a #1",
  282. "47":"a #1",
  283. "48":"a #1",
  284. "49":"a #1",
  285. "50":"a #1",
  286. "51":"a #1",
  287. "52":"a #1",
  288. "53":"a #1",
  289. "54":"a #1",
  290. "55":"a #1",
  291. "56":"a #1",
  292. "57":"a #1",
  293. "58":"a #1",
  294. "60":"a #1",
  295. "62":"a #1"
  296. },
  297. "ios_saf":{
  298. "3.2":"p",
  299. "4.0-4.1":"p",
  300. "4.2-4.3":"p",
  301. "5.0-5.1":"p",
  302. "6.0-6.1":"p",
  303. "7.0-7.1":"p",
  304. "8":"p",
  305. "8.1-8.4":"p",
  306. "9.0-9.2":"p",
  307. "9.3":"p",
  308. "10.0-10.2":"p",
  309. "10.3":"p",
  310. "11.0-11.2":"p",
  311. "11.3-11.4":"p",
  312. "12.0-12.1":"p",
  313. "12.2-12.3":"y #5",
  314. "13":"y #5"
  315. },
  316. "op_mini":{
  317. "all":"n"
  318. },
  319. "android":{
  320. "2.1":"p",
  321. "2.2":"p",
  322. "2.3":"p",
  323. "3":"p",
  324. "4":"p",
  325. "4.1":"p",
  326. "4.2-4.3":"p",
  327. "4.4":"p",
  328. "4.4.3-4.4.4":"y",
  329. "67":"a #1"
  330. },
  331. "bb":{
  332. "7":"p",
  333. "10":"y"
  334. },
  335. "op_mob":{
  336. "10":"y",
  337. "11":"y",
  338. "11.1":"y",
  339. "11.5":"y",
  340. "12":"y",
  341. "12.1":"y",
  342. "46":"p"
  343. },
  344. "and_chr":{
  345. "75":"y"
  346. },
  347. "and_ff":{
  348. "67":"a #3"
  349. },
  350. "ie_mob":{
  351. "10":"p",
  352. "11":"p"
  353. },
  354. "and_uc":{
  355. "12.12":"p"
  356. },
  357. "samsung":{
  358. "4":"y",
  359. "5.0-5.4":"y",
  360. "6.2-6.4":"y",
  361. "7.2-7.4":"y",
  362. "8.2":"y",
  363. "9.2":"y"
  364. },
  365. "and_qq":{
  366. "1.2":"y"
  367. },
  368. "baidu":{
  369. "7.12":"y"
  370. },
  371. "kaios":{
  372. "2.5":"n"
  373. }
  374. },
  375. "notes":"While most commonly used on text fields, datalists can also be used on other input types. IE11 supports the element on `range` fields. Chrome and Opera also support datalists to suggest given values on `range`, `color` and date/time fields. ",
  376. "notes_by_num":{
  377. "1":"Partial support refers to [a bug](https://bugs.chromium.org/p/chromium/issues/detail?id=773041) where long lists of items are unscrollable resulting in unselectable options.",
  378. "2":"Partial support in IE refers to [significantly buggy behavior](https://web.archive.org/web/20170121011936/http://playground.onereason.eu/2013/04/ie10s-lousy-support-for-datalists/) (IE11+ does send the input and change events upon selection). ",
  379. "3":"Partial support refers to no support for datalists on non-text fields (e.g. number, [range](https://bugzilla.mozilla.org/show_bug.cgi?id=841942), [color](https://bugzilla.mozilla.org/show_bug.cgi?id=960984)).",
  380. "4":"Partial support in Edge refers [to disappearing option elements on focusing the input element via tab](https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/20066595/).",
  381. "5":"Supported through WKWebView and Safari but not through UIWebView"
  382. },
  383. "usage_perc_y":78.36,
  384. "usage_perc_a":11.8,
  385. "ucprefix":false,
  386. "parent":"forms",
  387. "keywords":"list attribute,input",
  388. "ie_id":"datalistelement",
  389. "chrome_id":"6090950820495360",
  390. "firefox_id":"",
  391. "webkit_id":"",
  392. "shown":true
  393. }