Hacker News new | ask | show | jobs
by akersten 2355 days ago
Is type supposed to be "text" instead of "number" in the inputmode snippet? Wouldn't it still strip leading zeros the way it is now (with type set to "number")?
2 comments

Oops! Thank you for pointing this out, it is supposed to be "text". I have updated the post.
The one after it has "text" so I'm guessing it's just a mistake.