From 919ccf9659a483564def154bf5000c4fc74e5b5e Mon Sep 17 00:00:00 2001
From: rhenck <richard.henck@iqb.hu-berlin.de>
Date: Tue, 8 Nov 2022 17:38:05 +0100
Subject: [PATCH] [editor] Improve DropList connectedTo control to work on
 first click

---
 .../input-groups/drop-list-properties.component.ts              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/projects/editor/src/app/components/properties-panel/model-properties-tab/input-groups/drop-list-properties.component.ts b/projects/editor/src/app/components/properties-panel/model-properties-tab/input-groups/drop-list-properties.component.ts
index 6655ad5a0..d978c2df7 100644
--- a/projects/editor/src/app/components/properties-panel/model-properties-tab/input-groups/drop-list-properties.component.ts
+++ b/projects/editor/src/app/components/properties-panel/model-properties-tab/input-groups/drop-list-properties.component.ts
@@ -26,7 +26,7 @@ import { IDService } from 'editor/src/app/services/id.service';
 
       <mat-form-field *ngIf="combinedProperties.connectedTo !== null"
                       class="wide-form-field" appearance="fill"
-                      (click)="generateValidDropLists()">
+                      (mousedown)="generateValidDropLists($event)">
         <mat-label>{{'propertiesPanel.connectedDropLists' | translate }}</mat-label>
         <mat-select multiple [ngModel]="combinedProperties.connectedTo"
                     (ngModelChange)="toggleConnectedDropList($event)">
-- 
GitLab