From f7be5f79da2851ddcfcb8098f7605291bb9e98c4 Mon Sep 17 00:00:00 2001 From: Josemi Date: Wed, 11 Dec 2024 17:05:26 +0100 Subject: [PATCH] wc: Fix form to update a note for including note type field #TASK-7267 #TASK-6445 --- src/webcomponents/note/note-update.js | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/webcomponents/note/note-update.js b/src/webcomponents/note/note-update.js index ec71816fc..164ebd9bd 100644 --- a/src/webcomponents/note/note-update.js +++ b/src/webcomponents/note/note-update.js @@ -148,6 +148,31 @@ export default class NoteUpdate extends LitElement { disabled: true, } }, + { + title: "Note Type", + field: "type", + type: "select", + required: true, + defaultValue: "UNKNOWN", + allowedValues: [ + "VARIANT", + "GENE", + "TRANSCRIPT", + "PROTEIN", + "JOB", + "FILE", + "SAMPLE", + "INDIVIDUAL", + "FAMILY", + "COHORT", + "DISEASE_PANEL", + "CLINICAL_ANALYSIS", + "WORKFLOW", + "ORGANIZATION", + "OTHER", + "UNKNOWN", + ], + }, { title: "Visibility", field: "visibility",