The <uui-button>
component's type property is not passed down to the <button>
, making all buttons essentially have a type of "submit".
#1054
Labels
Which exact UI Library version are you using? For example: 1.0.1 - don't just write v1.
1.12.2
Bug summary
The
<uui-button>
component does not pass the type property down to the underlying<button>
element. As a result, all buttons default totype="submit"
, which can cause unintended form submissions.Specifics
No response
Steps to reproduce
Inspect any
<uui-button>
and you will see issue.Expected result / actual result
<uui-button>
should pass the type property down to the underlying<button>
element.The text was updated successfully, but these errors were encountered: