Skip to content

Commit

Permalink
fix: disable submit button when form is being submitted
Browse files Browse the repository at this point in the history
  • Loading branch information
inigomarquinez committed Jan 30, 2024
1 parent 14e684f commit 8686d87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Fields/Button/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const Button = React.forwardRef(
({ disabled, caption, isLoading, id, ...props }, ref) => (
<ButtonUI
ref={ref}
disabled={disabled || isLoading}
{...props}
sx={{
...styles.default,
Expand Down

0 comments on commit 8686d87

Please sign in to comment.