diff --git a/client/src/components/Form/Elements/FormData/FormData.vue b/client/src/components/Form/Elements/FormData/FormData.vue index d2a0e0b87ce9..de820ccef641 100644 --- a/client/src/components/Form/Elements/FormData/FormData.vue +++ b/client/src/components/Form/Elements/FormData/FormData.vue @@ -90,6 +90,14 @@ const dragTarget: Ref = ref(null); const collectionModalShow = ref(false); const collectionModalType = ref<"list" | "list:paired" | "paired">("list"); const { currentHistoryId } = storeToRefs(useHistoryStore()); +const restrictsExtensions = computed(() => { + const extensions = props.extensions; + if (!extensions || extensions.length == 0 || extensions.indexOf("data") >= 0) { + return false; + } else { + return true; + } +}); /** Store options which need to be preserved **/ const keepOptions: Record = {}; @@ -649,7 +657,7 @@ const noOptionsWarningMessage = computed(() => { -
+
accepted formats