diff --git a/dashboard/src/components/AppImportDialog.vue b/dashboard/src/components/AppImportDialog.vue index 2e4555247..ebe758ba4 100644 --- a/dashboard/src/components/AppImportDialog.vue +++ b/dashboard/src/components/AppImportDialog.vue @@ -24,6 +24,11 @@ const encryptionPasswordHint = ref(''); const encryptionPassword = ref(''); const encryptedFilenames = ref(false); +const isFormValid = ref(false); +async function validateForm() { + isFormValid.value = form.value && form.value.checkValidity(); +} + async function onSubmit() { if (!form.value.reportValidity()) return; @@ -261,7 +266,7 @@ defineExpose({

-
+