Hacker News new | ask | show | jobs
by kripke 1527 days ago
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...

2 comments

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?

better example might have been drag and drop file forms