3 ms·
I'd be in favor of banning input manipulation but adding custom fields like phone which would accept regex formatters.
by tomschlick 10y ago
I'd be in favor of banning input manipulation but adding custom fields like phone which would accept regex formatters.
- lucideer 10y agoBrowsers already support that. Good look convincing managers/clients/designers that they're sufficient on their own though. The real problem is UI. Most of these plugins are changing the UI of forms to something that looks fancier (and more consistent) than the defaults.
- dawnerd 10y agoThere really does need to be a better way to style inputs. It's all over the place now. Hell, just making `type=search` look the same across browsers isn't as straight forward as it should be.
- wongarsu 10y agoYeah, but if you want something slighlty different that isn't solved by one of the existing input field types you would be completely out of luck. And even if what you need is in the HTML spec you might be out of luck. Firefox is only adding support for date inputs sometime this year (my estimate) [1]. 1: https://wiki.mozilla.org/TPE_DOM/Date_time_input_types#Roadmap https://wiki.mozilla.org/TPE_DOM/Date_time_input_types#Roadm...