You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whilst the `<button>` element is the preferred way to create buttons nowadays, `<input type="submit">` is still supported, including by `govuk-frontend`.
For this reason, we should continue to support it with the helper, to avoid throwing unnecessary errors.
Fixes#21
Whilst the `<button>` element is the preferred way to create buttons
nowadays, `<input type="submit">` is still supported, including by
`govuk-frontend`.
For this reason, we should continue to support it with the helper, to
avoid throwing unnecessary errors.
Fixes#21
The
click_govuk_button
helper should also work with<input type="submit">
, mirroring the behaviour ofclick_button
.The text was updated successfully, but these errors were encountered: