Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Number input #74

govuk-design-system opened this issue Jan 15, 2018 · 0 comments


Copy link

commented Jan 15, 2018

Also known as: numerical input


A component for accepting different kinds of number.
Includes variants with:

  • increment/decrement buttons
  • decimal points and delimiters
  • unit suffixes for things like weight, speed, distance etc.


Anything else

@govuk-design-system govuk-design-system created this issue from a note in GOV.UK Design System Community Backlog (Agreed) Jan 15, 2018

quis added a commit to alphagov/notifications-admin that referenced this issue May 8, 2018

Enable numeric keypad for text message code
If you’re signing in on a phone, it’s easier to type the two factor code
with a numeric keypad. The most reliable way to get the numeric keypad
to show up on multiple devices is:
- `type='tel'` (not `type='number'` because that’s only meant for
  numbers, not string of digits, ie `01234` is not a number)
- `pattern='[0-9]*'`, without which it doesn’t work on iOS

Based on the guidance here:
- alphagov/govuk-design-system-backlog#74

@timpaul timpaul added the component label May 21, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.