File tree Expand file tree Collapse file tree
app/frontend/src/components/designer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -131,6 +131,10 @@ const designerOptions = computed(() => {
131131 };
132132});
133133
134+ const DISPLAY_VERSION = computed (() =>
135+ form .value ? .versions ? .length ? form .value .versions .length + 1 : 1
136+ );
137+
134138// ---------------------------------------------------------------------------------------------------
135139// FormIO event handlers
136140// ---------------------------------------------------------------------------------------------------
@@ -536,6 +540,12 @@ async function loadFile(event) {
536540defineExpose ({ designerOptions, reRenderFormIo });
537541< / script>
538542< template>
543+ < div class = " text-center mx-4" >
544+ < h4 v- if = " form.name" >
545+ {{ form .name }}
546+ < / h4>
547+ < em> Version: {{ DISPLAY_VERSION }} < / em>
548+ < / div>
539549 < div : class = " { 'dir-rtl': isRTL }" >
540550 < FloatButton
541551 v- model: form- schema= " formSchema"
You can’t perform that action at this time.
0 commit comments