3 ms·
The only <input> that is annoying to style is the “select” one because it’s hard to style the “options”. The rest seem reasonable and quite customizable in my e
by archerx 9mo ago
The only <input> that is annoying to style is the “select” one because it’s hard to style the “options”. The rest seem reasonable and quite customizable in my experience.
- christophilus 9mo agoThe date picker still sucks.
- archerx 9mo agoI admit I haven’t had to use the date picker in a long time but I looked at the MDN for an example of the default implementation of it and it seemed fine on my iPhone. What issues have you encountered with it? I imagine it’s a different story on desktop browsers.
- charrondev 9mo agoIt’s been good on mobile for a while, and it’s a travesty on desktop. Then if you want something a little bit complicated you have to do it all yourself. - What if I need a date range instead of a single date? - What if I have excluded dates? (Only weekdays/only in the future/blackout dates) - What if I want to show other metadata with each day? (Like in a calendar showing each day with some metadata next to it) Beyond “give a whatever the system thinks is a good date picker that I have no control over” the input with type date isn’t very useful.
- dlisboa 9mo agoNot on mobile. Most internet access these days is mobile.
- dbbk 9mo agoAnd even select is fully customisable now if you're targeting modern browsers
- efilife 9mo agoreally? how?
- mcintyre1994 9mo agoThe article says browser support is limited, but good docs: https://developer.mozilla.org/en-US/docs/Learn_web_development/Extensions/Forms/Customizable_select https://developer.mozilla.org/en-US/docs/Learn_web_developme...
- dbbk 9mo agoAppearance: base-select https://developer.chrome.com/blog/a-customizable-select https://developer.chrome.com/blog/a-customizable-select