News for hackers. Stuff that matters.
Re:For Pete's Sake, Don't Touch HTML Inputs by GuB-42 on Friday April 08, 2022 @11:34AM (#30958514)
Problem is: HTML inputs are very limited compared to traditional desktop UIs. The worst for me is the lack of editable combo box. Seriously, the Windows 95 GUI toolkit is more powerful, HTML forms are at the level of what we had in the early 90s.

I understand that HTML never was intended for writing apps, but things like editable combo boxes are basic form elements that do not require logic and that even PDFs have.

Re:For Pete's Sake, Don't Touch HTML Inputs by kripke on Friday April 08, 2022 @12:48PM (#30959477)
I'm not sure what you are calling an "editable combo box", but would <datalist> [1] fit the bill?

[1]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/da...

Re:For Pete's Sake, Don't Touch HTML Inputs by GuB-42 on Friday April 08, 2022 @04:35PM (#30962197)
Yes.

But full support is relatively recent and for some reason, it doesn't behave like a typical editable combo box: it looks like a regular text field until you interact with it, while most GUI toolkits display them as a text field within a combo box frame, with the down arrow button always visible. Unless there is some special styling, why not use the OS default look and feel?

Still a step in the good direction, but why so late? and why the nonstandard behavior?

Re:For Pete's Sake, Don't Touch HTML Inputs by bobkazamakis on Friday April 08, 2022 @02:00PM (#30960427)
better example might have been drag and drop file forms