diff --git a/src/components/Upload.vue b/src/components/Upload.vue index 1bbc62b2..bd0756ce 100644 --- a/src/components/Upload.vue +++ b/src/components/Upload.vue @@ -766,6 +766,15 @@ export default { help: "How this resource item should be cited", isRequired: false }, + { + label: "Training data", + type: "training_data", + value: this.rdf.training_data, + // options: ["id"], + options: this.resourceItems.filter(item => item.type === "dataset").map(item => item.id), + help: "Dataset used for training", + isRequired: false + }, { label: "Links", type: "tags", @@ -845,6 +854,7 @@ export default { tags: "Tags", links: "Links", cite: "Citation", + training_data: "Training Data", authors: "Authors" }; const values = result.values;