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

Make button element the default instead of input for button macro #683

Merged
merged 3 commits into from
May 10, 2018

Conversation

NickColley
Copy link
Contributor

@NickColley NickColley commented May 8, 2018

We are making button the default, however since the button element is buggy in IE6 / IE7, we are allowing input to be used if required.

Thanks @quis for the original issue on GOV.UK Elements :)

Context: alphagov/govuk_elements#593

Trello: https://trello.com/c/gITiuXcS/765-use-button-by-default-for-buttons-rather-than-input-typebutton

@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-683 May 8, 2018 16:05 Inactive
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-683 May 8, 2018 16:08 Inactive
@NickColley NickColley force-pushed the change-button-default-from-input branch from a5c9973 to d2e30f6 Compare May 8, 2018 16:10
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-683 May 8, 2018 16:10 Inactive
@NickColley NickColley changed the title Change button default from input Make button element the default instead of input for button macro May 8, 2018
@NickColley NickColley force-pushed the change-button-default-from-input branch from d2e30f6 to b6bc491 Compare May 8, 2018 16:12
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-683 May 8, 2018 16:13 Inactive
Copy link

@kr8n3r kr8n3r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise looks lood

CHANGELOG.md Outdated
@@ -23,6 +23,10 @@ Breaking change:
to a more consise naming structure. We have also introduced two mixins
to help generate additional or custom grid styles and widths.

- Make `button` element the default instead of `input` for button macro #683
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra PR #number

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorted

@NickColley NickColley merged commit 1eddb38 into master May 10, 2018
@NickColley NickColley deleted the change-button-default-from-input branch May 10, 2018 10:52
colinrotherham added a commit that referenced this pull request Sep 4, 2023
colinrotherham added a commit that referenced this pull request Sep 27, 2023
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.

3 participants