Skip to content

Allow ButtonComponent to accept a configurable type prop #637

@lukasmatta

Description

@lukasmatta

ButtonComponent currently hardcodes the native button type attribute to "button" and does not provide any way for consumers to override it.

This prevents the component from being used in standard form submission flows where type="submit" is required.

As there already is a type input property used for styling definition, it will need to use some other name for backward compatibility.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions