From dfcb77342af128117b54023f62c2cf0421e40b21 Mon Sep 17 00:00:00 2001 From: Sabrina Bongiovanni Date: Mon, 12 Aug 2024 12:27:43 +0200 Subject: [PATCH] fix: disable save button upon submitting --- packages/volto/src/components/manage/Add/Add.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/volto/src/components/manage/Add/Add.jsx b/packages/volto/src/components/manage/Add/Add.jsx index 0510b43f5a..9a5718d07e 100644 --- a/packages/volto/src/components/manage/Add/Add.jsx +++ b/packages/volto/src/components/manage/Add/Add.jsx @@ -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} >