Skip to content

add buttonProps#716

Merged
AnnMarieW merged 2 commits intosnehilvj:masterfrom
AnnMarieW:add-buttonProps
Apr 26, 2026
Merged

add buttonProps#716
AnnMarieW merged 2 commits intosnehilvj:masterfrom
AnnMarieW:add-buttonProps

Conversation

@AnnMarieW
Copy link
Copy Markdown
Collaborator

@AnnMarieW AnnMarieW commented Apr 24, 2026

closes #715

This PR adds buttonProps to make it possible to pass any valid attribute to the button element.

For example as requested in issue 715, you can set the button type to submit like this:

dmc.Button(buttonProps={"type": "submit"})

@AnnMarieW AnnMarieW merged commit 32d2d4c into snehilvj:master Apr 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: add type to Button component

1 participant