4 ms·
The phrasing in the standard they quote: > The type=number state is not appropriate for input that happens to only consist of numbers but isn't strictly speaki
by pwdisswordfish9 5y ago
The phrasing in the standard they quote:
> The type=number state is not appropriate for input that happens to only consist of numbers but isn't strictly speaking a number.
sounds like silly self-contradictory nonsense, probably written by someone who didn’t know words like ‘digit’ or ‘quantity’, which would help tremendously to disambiguate this. (Ideally, it would have been <input type="quantity"> from the start, so that nobody would even think of using it for digit-based identifiers.)
Seriously, thesauri can be occasionally useful for something beyond sounding smug. (Not that it isn’t an advantage in itself…)