diff --git a/dashboard/src/components/CommunityAppDialog.vue b/dashboard/src/components/CommunityAppDialog.vue index d4e081dae..b1136d5db 100644 --- a/dashboard/src/components/CommunityAppDialog.vue +++ b/dashboard/src/components/CommunityAppDialog.vue @@ -10,6 +10,7 @@ const emit = defineEmits([ 'success' ]); const dialog = useTemplateRef('dialog'); const form = useTemplateRef('form'); +const urlInput = useTemplateRef('urlInput'); const formError = ref({}); const versionsUrl = ref(''); @@ -56,6 +57,7 @@ defineExpose({ unstable.value = false; dialog.value.open(); setTimeout(validateForm, 100); // update state of the confirm button + setTimeout(() => urlInput.value.focus(), 500); } }); @@ -81,7 +83,7 @@ defineExpose({ - +
{{ formError.generic }}