4 ms·
If W3C would stop doing initiatives like Web USB and give us a way to style a select box (finally going to be a thing) we wouldn't even need web frameworks. *
by dham 5y ago
If W3C would stop doing initiatives like Web USB and give us a way to style a select box (finally going to be a thing) we wouldn't even need web frameworks.
* Styled select boxes
* Good cross platform datepicker with ranges that looks good
* More form validation options / dynamic form validation
* A good drag api that does edge detection well in every browser
* Bring back frames (would allow good nested routing)
* A built in rich text editor
* A good modal API (or bring it back)
* A way to submit a form via AJAX with just a property (think Rails UJS) to just render html.
- justsomehnguy 5y ago> and give us a way to style a select box How many end-users complained what a select box is not styled?
- dham 5y agoI hear you, that's another thing that has plagued our industry. Most of the time a regular select box is fine, but sometimes you need to have images or something more in the options (colors, etc)
- brimble 5y agoNone, probably, but these days it's de rigeur to spend half a (web or mobile) project's budget making sure even the select boxes are "on brand" and "delightful" or whatever. Often at the expense of usability.
- andrei_says_ 5y agoStyling a radio button, a select box and a slider would be amazing, too. Now the only option is to replace them which is quite sad.
- dham 5y agoYea you're right, that's like the biggest one. Can't believe I forgot that.
- DaiPlusPlus 5y agoLast year they introduced the CSS `accent-color` property: https://www.w3.org/TR/css-ui-4/ https://www.w3.org/TR/css-ui-4/
- andrei_says_ 5y agoI’d like to make them larger and easier to target. It’s trivial to do this for form fields.
- sippeangelo 5y agoPlease just give me a checkbox input that sends true/false instead of true/nothing
- DaiPlusPlus 5y agoI agree radio and checkbox inputs are still huge warts in HTML forms, though there is a workaround: if you have a hidden input with the same name and "false" value then you'll get what you want. See here for an example: https://stackoverflow.com/questions/2697299/ https://stackoverflow.com/questions/2697299/
- no_way 5y agoPeople are working on customizable select 1 https://open-ui.org/components/select.research https://open-ui.org/components/select.research 2 https://bugs.chromium.org/p/chromium/issues/detail?id=1121840&sort=-modified&colspec=ID%20Pri%20M%20Stars%20ReleaseBlock%20Component%20Status%20Owner%20Summary%20OS%20Modified&q=customizable%20select&can=2 https://bugs.chromium.org/p/chromium/issues/detail?id=112184...
- dham 5y agoYes, gotcha. That's why I have in parenthesis > (finally going to be a thing)
- Seb-C 5y agoI've been thinking like forever that if we had a standard, pure-html equivalent to jQuery's `$('.foo').load('url...')`, we could have a lot of great sites without any JS at all (I'm not talking about the minority of legit cases where react/vue/angular shines). Similar to a link targetting an iframe, but without an actually ugly iframe.
- earthboundkid 5y agoAre you familiar with HTMX? Sounds like what you want. I'm not a huge fan, but I think it would be good if something like it were a native capability.
- Seb-C 5y agoYes, that's the same core idea. I mean, there are plenty of solutions in JS, and it's a one-liner with fetch anyway, but having a native way would have been cool. I was thinking about something more like `<a href="..." target="#someDiv">`. That could be some handy (albeit rudimentary) foundation to build maintainable sites on a static server without any JS or build pipeline.
- earthboundkid 5y ago"Web Component" is a great name, but Shadow DOM and Custom Element are terrible APIs. WHATWG should just quietly abandon them and then come up with "Web Components 2.0" based on a native reactivity system, native VDOM diffing, and (this already a thing) CSS layers for style isolation.