diff --git a/dashboard/src/components/BackupProviderForm.vue b/dashboard/src/components/BackupProviderForm.vue index cb6288b45..88d6b59bb 100644 --- a/dashboard/src/components/BackupProviderForm.vue +++ b/dashboard/src/components/BackupProviderForm.vue @@ -113,7 +113,7 @@ onMounted(async () => { - + diff --git a/dashboard/src/components/BackupSiteAddDialog.vue b/dashboard/src/components/BackupSiteAddDialog.vue index 7fa327ed4..608925742 100644 --- a/dashboard/src/components/BackupSiteAddDialog.vue +++ b/dashboard/src/components/BackupSiteAddDialog.vue @@ -29,7 +29,7 @@ const formError = ref({}); const busy = ref(false); const enableForUpdates = ref(false); const provider = ref(''); -const includeExclude = ref('everything'); // or exclude, include +const includeExclude = ref(''); // or exclude, include const contentOptions = ref([]); const contentInclude = ref([]); const contentExclude = ref([]); @@ -227,6 +227,12 @@ function onCancel() { dialog.value.close(); } +const isValid = ref(false); + +function checkValidity() { + isValid.value = form.value.checkValidity(); +} + defineExpose({ async open() { step.value = 'storage'; @@ -247,7 +253,7 @@ defineExpose({ encryptionPasswordHint.value = ''; encryptedFilenames.value = false; limits.value = {}; - includeExclude.value = 'everything'; + includeExclude.value = ''; contentInclude.value = []; contentExclude.value = []; @@ -282,6 +288,8 @@ defineExpose({ }); dialog.value.open(); + + // checkValidity(); } }); @@ -291,9 +299,9 @@ defineExpose({
-
+
- + @@ -306,10 +314,10 @@ defineExpose({
{{ $t('backups.configureBackupStorage.backupContents.description') }}
- - + + - +
@@ -370,7 +378,7 @@ defineExpose({
- +