Skip to content

Commit

Permalink
Add inputmode="" to a note on type="number"
Browse files Browse the repository at this point in the history
  • Loading branch information
hannalaakso authored Jun 10, 2020
1 parent 78ba017 commit e915da4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -46324,8 +46324,9 @@ ldh-str = &lt; as defined in <a href="https://tools.ietf.org/html/rfc1034#
arrows). Getting a credit card number wrong by 1 in the last digit isn't a minor mistake, it's as
wrong as getting every digit incorrect. So it would not make sense for the user to select a credit
card number using "up" and "down" buttons. When a spinbox interface is not appropriate, <code
data-x="">type=text</code> is probably the right choice (possibly with a <code
data-x="attr-input-pattern">pattern</code> attribute).</p>
data-x="">type=text</code> is probably the right choice (possibly with an <code
data-x="attr-inputmode">inputmode</code> or <code data-x="attr-input-pattern">pattern</code>
attribute).</p>



Expand Down Expand Up @@ -121400,6 +121401,7 @@ INSERT INTERFACES HERE
Habib Virji,
Hajime Morrita,
Hallvord Reiar Michaelsen Steen,
Hanna Laakso,
Hans S. T&oslash;mmerhalt,
Hans Stimer,
Harald Alvestrand,
Expand Down Expand Up @@ -121647,6 +121649,7 @@ INSERT INTERFACES HERE
Mark Amery,
Mark Birbeck,
Mark Davis,
Mark Green,
Mark Miller,
Mark Nottingham,
Mark Pilgrim,
Expand Down

0 comments on commit e915da4

Please sign in to comment.