0

Why does <datalist> not working

does sololearn code bits doesn't support <datalist> element? can't make it work on my sololearn web. https://code.sololearn.com/W5oMHynFLBtx/?ref=app i use: https://cloudinary.com/invites/lpov9zyyucivvxsnalc5/kj0ul1lpufgpp1sccyfs to link my assets(image, audio, video, css, js, etc) for the web. for free

16th Jul 2020, 5:40 PM
sobadrdb
15 Answers
+ 1
So this select fallback is working for you since datalist is not ?
16th Jul 2020, 6:09 PM
Abhay
Abhay - avatar
+ 1
šŸ˜‰ Krishna šŸ¤˜ yes it is, thats why in my gadget, if i uncomment the <datalist>, the <select> option does'nt show up. which i tried it in my codepen it works if you dont mind to open it on chrome or firefox browser https://codepen.io/sobadrdb/full/YzyRgmo
16th Jul 2020, 6:12 PM
sobadrdb
+ 1
šŸ˜‰ Krishna šŸ¤˜ which working, both at sololearn and codepen? at codepen i don't comment out the datalist
16th Jul 2020, 6:28 PM
sobadrdb
+ 1
thats why i cant make it work in sololearn if i don't commented out the datalist on my gadget. so i think if it is a bug for my gadget
16th Jul 2020, 6:33 PM
sobadrdb
0
It does and its working fine ,
16th Jul 2020, 5:49 PM
Abhay
Abhay - avatar
0
hi šŸ˜‰ Krishna šŸ¤˜ Abhay thats weird, its not at my end, have you tried uncomment my html code which datalist at?
16th Jul 2020, 5:58 PM
sobadrdb
0
sobadrdb You have datalist at line 59?it's already uncommented
16th Jul 2020, 6:00 PM
Abhay
Abhay - avatar
0
yes, and im comment it out just now.
16th Jul 2020, 6:01 PM
sobadrdb
0
i was intended to give option, wether to type text or select from datalist
16th Jul 2020, 6:02 PM
sobadrdb
0
Why you did you commented it again?šŸ¤”,can you describe what problem are you facing if any ?because at my end it works as expected
16th Jul 2020, 6:02 PM
Abhay
Abhay - avatar
0
well, if i uncomment it, i can't see the list option on my end. the setting: <select> element is for fallback, if browser can't render <datalist>, it should be show up, but not in my gadget
16th Jul 2020, 6:05 PM
sobadrdb