diff --git a/client/src/components/Form/Elements/FormSelection.vue b/client/src/components/Form/Elements/FormSelection.vue index 15176a48f063..12d681f4a517 100644 --- a/client/src/components/Form/Elements/FormSelection.vue +++ b/client/src/components/Form/Elements/FormSelection.vue @@ -100,7 +100,7 @@ watch( ); const showSelectPreference = computed( - () => props.multiple && props.display !== "checkboxes" && props.display !== "radio" + () => props.multiple && props.display !== "checkboxes" && props.display !== "radio" && props.display !== "simple" ); const displayMany = computed(() => showSelectPreference.value && useMany.value); diff --git a/client/src/components/Workflow/Editor/Forms/FormDatatype.vue b/client/src/components/Workflow/Editor/Forms/FormDatatype.vue index 466a9fca75e3..b77474cada04 100644 --- a/client/src/components/Workflow/Editor/Forms/FormDatatype.vue +++ b/client/src/components/Workflow/Editor/Forms/FormDatatype.vue @@ -1,5 +1,5 @@ diff --git a/client/src/components/Workflow/Editor/Forms/FormDefault.vue b/client/src/components/Workflow/Editor/Forms/FormDefault.vue index 3a0f82c0a9d6..ee093366c3ee 100644 --- a/client/src/components/Workflow/Editor/Forms/FormDefault.vue +++ b/client/src/components/Workflow/Editor/Forms/FormDefault.vue @@ -43,8 +43,10 @@ v-if="isSubworkflow" :step="step" @onUpdateStep="(id, step) => emit('onUpdateStep', id, step)" /> + + +import { ref } from "vue"; + +import type { DatatypesMapperModel } from "@/components/Datatypes/model"; +import type { Step } from "@/stores/workflowStepStore"; + +import FormElement from "@/components/Form/FormElement.vue"; +import FormDatatype from "@/components/Workflow/Editor/Forms/FormDatatype.vue"; + +defineProps<{ + step: Step; + datatypes: DatatypesMapperModel["datatypes"]; +}>(); + +const formats = ref(); +const tags = ref(""); +const optional = ref(false); + +function onDatatype(newDatatype: string[]) { + formats.value = newDatatype; + console.log(formats.value); +} + +function onTags(newTags: string) { + tags.value = newTags; +} + +function onOptional(newOptional: boolean) { + optional.value = newOptional; +} + + + + +