fix: Duplicate action being sent when we click on save contact (#11138)
Fix duplicate save contact action being sent when we click on the button.
This commit is contained in:
@@ -55,13 +55,13 @@ defineExpose({ dialogRef, contactsFormRef, onSuccess });
|
|||||||
@click="closeDialog"
|
@click="closeDialog"
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
|
type="submit"
|
||||||
:label="
|
:label="
|
||||||
t('CONTACTS_LAYOUT.HEADER.ACTIONS.CONTACT_CREATION.SAVE_CONTACT')
|
t('CONTACTS_LAYOUT.HEADER.ACTIONS.CONTACT_CREATION.SAVE_CONTACT')
|
||||||
"
|
"
|
||||||
color="blue"
|
color="blue"
|
||||||
:disabled="contactsFormRef?.isFormInvalid"
|
:disabled="contactsFormRef?.isFormInvalid"
|
||||||
:is-loading="isCreatingContact"
|
:is-loading="isCreatingContact"
|
||||||
@click="handleDialogConfirm"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user