Skip to content

The <uui-button> component's type property is not passed down to the <button>, making all buttons essentially have a type of "submit". #1054

Open
@aleksandarmusicki98

Description

@aleksandarmusicki98

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 to type="submit", which can cause unintended form submissions.

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions