Commit 80aa006c authored by Mark Florian's avatar Mark Florian

Merge branch...

Merge branch '273580-when-selecting-issue-type-and-closing-the-dropdown-the-issue-gets-submitted-right-away' into 'master'

Add type=button to issue type selector close button to prevent premature submission

See merge request gitlab-org/gitlab!48249
parents 2b9355e6 52843a07
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
.dropdown-title.gl-display-flex .dropdown-title.gl-display-flex
%span.gl-ml-auto %span.gl-ml-auto
= _("Select type") = _("Select type")
%button.dropdown-title-button.dropdown-menu-close.gl-ml-auto{ "aria-label" => _('Close') } %button.dropdown-title-button.dropdown-menu-close.gl-ml-auto{ type: 'button', "aria-label" => _('Close') }
= sprite_icon('close', size: 16, css_class: 'dropdown-menu-close-icon') = sprite_icon('close', size: 16, css_class: 'dropdown-menu-close-icon')
.dropdown-content .dropdown-content
%ul %ul
......
---
title: Adds type="button" to the close button for the issue type selector to prevent
accidental form submission
merge_request: 48249
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment