Use consistent style to only disable dialog close button if dialog submission is busy

This commit is contained in:
Johannes Zellner
2025-10-08 16:49:05 +02:00
parent 2c5fd7effa
commit 933d5c9139
11 changed files with 26 additions and 13 deletions
+2 -1
View File
@@ -96,7 +96,8 @@ defineExpose({
:confirm-busy="busy"
:confirm-active="!busy && isFormValid"
:confirm-label="$t('main.dialog.save')"
:reject-label="busy ? null : $t('main.dialog.cancel')"
:reject-label="$t('main.dialog.cancel')"
:reject-active="!busy"
reject-style="secondary"
@confirm="onSubmit()"
>