News for hackers. Stuff that matters.
Re:If you want to create a button from scratch, you must fir... by jeroenhd on Thursday July 16, 2026 @05:23AM (#48932182)
If you use a custom select, update your <datalist>, you should be good, shouldn't you?

There are UI components that are not available in native browser controls (infuriatingly: some are only available in some browsers on some platforms), but even then you're better off writing a shim to replicate normal browser behaviour than ruining the experience for everyone because Firefox on Android doesn't have a colour picker.

Re:If you want to create a button from scratch, you must fir... by mireq2 on Tuesday July 21, 2026 @10:22AM (#48992753)
No. I need something like <option value="123"><img src="...">Mars</option> - separated internal representation and value and dynamically updated. If i can fit whole list to client memory why should i choose datalist over select?