diff --git a/dashboard/src/components/AppImportDialog.vue b/dashboard/src/components/AppImportDialog.vue index ebe758ba4..150b9f4af 100644 --- a/dashboard/src/components/AppImportDialog.vue +++ b/dashboard/src/components/AppImportDialog.vue @@ -232,6 +232,8 @@ function onBackupConfigChanged(event) { providerConfig.value[key] = value; } } + + setTimeout(validateForm, 100); // update state of the confirm button }; reader.readAsText(event.target.files[0]); diff --git a/dashboard/src/views/RestoreView.vue b/dashboard/src/views/RestoreView.vue index abb67214e..d4eb3b43a 100644 --- a/dashboard/src/views/RestoreView.vue +++ b/dashboard/src/views/RestoreView.vue @@ -303,6 +303,8 @@ function onBackupConfigChanged(event) { providerConfig.value[key] = value; } } + + setTimeout(checkValidity, 100); // update state of the confirm button }; reader.readAsText(event.target.files[0]);