Use consistent style to only disable dialog close button if dialog submission is busy
This commit is contained in:
@@ -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()"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user