Skip to content

Commit

Permalink
Merge pull request #443 from dhis2/fix-button-name
Browse files Browse the repository at this point in the history
fix(button): pass name prop to button element
  • Loading branch information
ismay authored Jan 11, 2021
2 parents c4e54fd + c584b21 commit 67dbb7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/Button/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export const Button = ({
return (
<button
ref={ref}
name={name}
className={buttonClassName}
data-test={dataTest}
disabled={disabled}
Expand Down

0 comments on commit 67dbb7e

Please sign in to comment.