-
Notifications
You must be signed in to change notification settings - Fork 335
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
Conversation
Only allow `input` to be used when explicitly asking to use it. See alphagov/govuk_elements#593
a5c9973
to
d2e30f6
Compare
button
element the default instead of input
for button macro
d2e30f6
to
b6bc491
Compare
There was a problem hiding this 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra PR #number
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorted
b6bc491
to
ca9813a
Compare
We are making
button
the default, however since thebutton
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