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

Bump to gov_uk_date_fields gem (inputmode) #207

Merged
merged 1 commit into from
Aug 28, 2019
Merged

Conversation

zheileman
Copy link
Member

The recommended way to use the numeric inputs is to be of type text but with pattern and inputmode attributes.

The dates gem has been updated to produce this new markup [0] following the reports of issues with previous markup [1].

Also updated the conviction_length step to produce an input of type text, instead of number, and add the inputmode attribute.

[0] https://github.com/ministryofjustice/gov_uk_date_fields/releases/tag/v4.1.0
[1] alphagov/govuk-frontend#1449

The recommended way to use the numeric inputs is to be of type `text` but with pattern and inputmode attributes.

The dates gem has been updated to produce this new markup [0] following the reports of issues with previous markup [1].

Also updated the `conviction_length` step to produce an input of type `text`, instead of number, and add the `inputmode` attribute.

[0] https://github.com/ministryofjustice/gov_uk_date_fields/releases/tag/v4.1.0
[1] alphagov/govuk-frontend#1449
@zheileman zheileman merged commit 0a27ce2 into master Aug 28, 2019
@zheileman zheileman deleted the bump-dates-gem branch August 28, 2019 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants