top | item 41977980

(no title)

akurtzhs | 1 year ago

Unfortunately the number input is lacking and inconsistent. We’ve always fallen back to JavaScript validation.

discuss

order

6510|1 year ago

https://jsfiddle.net/gaby_de_wilde/1qh4cax7/

I'm trying to picture a room full of <s>people</s> developers agreeing letters are numbers too!

Lets give the little people a slider but lets call it a range!

I really feel like they are trolling.

You start with a neat database table then you engage in an endless struggle trying to allow the user to edit a single row of it. It really feels like you are not suppose to do it. As if it was intended to be as annoying as possible.

hk1337|1 year ago

They’d want 7 parallel lines, 1 red, 2 green, 2 transparent, 2 blue. Oh, and 1 of those lines should be perpendicular.

wahnfrieden|1 year ago

`type=text inputmode=numeric` (from other comment)

epolanski|1 year ago

Also, many things that look like numbers shouldn't be encoded as such, e.g. credit cards or phone numbers, are not.

E.g. any leading zeros get dropped out of phone number starting with a 0, very common.