diff --git a/client/src/components/Workflow/Editor/Forms/FormDatatype.vue b/client/src/components/Workflow/Editor/Forms/FormDatatype.vue
new file mode 100644
index 000000000000..466a9fca75e3
--- /dev/null
+++ b/client/src/components/Workflow/Editor/Forms/FormDatatype.vue
@@ -0,0 +1,58 @@
+
+
+
+
+
diff --git a/client/src/components/Workflow/Editor/Forms/FormOutput.vue b/client/src/components/Workflow/Editor/Forms/FormOutput.vue
index a0e41c37eb40..ac6b22944a60 100644
--- a/client/src/components/Workflow/Editor/Forms/FormOutput.vue
+++ b/client/src/components/Workflow/Editor/Forms/FormOutput.vue
@@ -9,14 +9,13 @@
title="Rename dataset"
type="text"
@input="onInput" />
-
+ @onChange="onDatatype" />
import FormCard from "@/components/Form/FormCard";
import FormElement from "@/components/Form/FormElement";
+import FormDatatype from "@/components/Workflow/Editor/Forms/FormDatatype";
import FormOutputLabel from "@/components/Workflow/Editor/Forms/FormOutputLabel";
const actions = [
@@ -101,6 +101,7 @@ export default {
FormCard,
FormElement,
FormOutputLabel,
+ FormDatatype,
},
props: {
outputName: {
@@ -148,26 +149,6 @@ export default {
});
return index;
},
- datatypeExtensions() {
- const extensions = [];
- for (const key in this.datatypes) {
- extensions.push({ 0: this.datatypes[key], 1: this.datatypes[key] });
- }
- extensions.sort((a, b) => (a.label > b.label ? 1 : a.label < b.label ? -1 : 0));
- extensions.unshift({
- 0: "Sequences",
- 1: "Sequences",
- });
- extensions.unshift({
- 0: "Roadmaps",
- 1: "Roadmaps",
- });
- extensions.unshift({
- 0: "Leave unchanged",
- 1: "",
- });
- return extensions;
- },
renameHelp() {
/* TODO: FormElement should provide a slot for custom help templating instead. */
const helpLink = `here`;