Skip to content

Commit

Permalink
fix: disable save button upon submitting
Browse files Browse the repository at this point in the history
  • Loading branch information
sabrina-bongiovanni committed Aug 12, 2024
1 parent a2f8d59 commit dfcb773
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/volto/src/components/manage/Add/Add.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,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 dfcb773

Please sign in to comment.