Skip to content

Commit

Permalink
fix: disable save button upon submitting (#6250)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabrina-bongiovanni authored Aug 14, 2024
1 parent 2ea6a1b commit 3f116b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions news/6250.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Disable save button when loading POST query @sabrina-bongiovanni
1 change: 1 addition & 0 deletions src/components/manage/Add/Add.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ class Add extends Component {
aria-label={this.props.intl.formatMessage(messages.save)}
onClick={() => this.form.current.onSubmit()}
loading={this.props.createRequest.loading}
disabled={this.props.createRequest.loading}
>
<Icon
name={saveSVG}
Expand Down

0 comments on commit 3f116b2

Please sign in to comment.