-
Notifications
You must be signed in to change notification settings - Fork 639
Closed
Labels
bugSomething isn't workingSomething isn't workingcomponent: ButtonIssues related to the Button componentIssues related to the Button componentreact
Description
Description
IconButton
has a default type of submit which leads to unexpected behavior when placed within a form.
Steps to reproduce
Steps to reproduce
Create page with the following form:
<form>
<IconButton type="submit">
<IconButton/>
</form>
The second button will default to type=submit instead of type=button. Expected behavior would be that the second IconButton type would default to button
.
Version
v35.28.0
Browser
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcomponent: ButtonIssues related to the Button componentIssues related to the Button componentreact