From 75db18a025e3cc29b4e05493ff7f182ebeac611f Mon Sep 17 00:00:00 2001
From: sebo <sebastian.bergandy@external.mgm-cp.com>
Date: Sun, 23 Mar 2025 18:50:14 +0100
Subject: [PATCH] OZG-7473 use const from form service

Based on CR comment.
---
 .../aggregation-mapping-field-form.component.html             | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/alfa-client/libs/admin/aggregation-mapping/src/lib/aggregation-mapping-form-container/aggregation-mapping-form/aggregation-mapping-field-list-form/aggregation-mapping-field-form/aggregation-mapping-field-form.component.html b/alfa-client/libs/admin/aggregation-mapping/src/lib/aggregation-mapping-form-container/aggregation-mapping-form/aggregation-mapping-field-list-form/aggregation-mapping-field-form/aggregation-mapping-field-form.component.html
index 8469852f2b..a70383f4bc 100644
--- a/alfa-client/libs/admin/aggregation-mapping/src/lib/aggregation-mapping-form-container/aggregation-mapping-form/aggregation-mapping-field-list-form/aggregation-mapping-field-form/aggregation-mapping-field-form.component.html
+++ b/alfa-client/libs/admin/aggregation-mapping/src/lib/aggregation-mapping-form-container/aggregation-mapping-form/aggregation-mapping-field-list-form/aggregation-mapping-field-form/aggregation-mapping-field-form.component.html
@@ -18,7 +18,7 @@
         </div>
         <div class="flex flex-col gap-4">
           <ods-text-editor
-            formControlName="sourcePath"
+            [formControlName]="AggregationMappingFormService.FIELD_MAPPING_SOURCE_PATH"
             label="Pfad"
             placeholder="Tragen Sie hier den gesamten Pfad des Datenfeldes ein, das Sie auswerten möchten."
             isRequired="true"
@@ -26,7 +26,7 @@
             [attr.data-test-id]="'source-mapping-field-' + index"
           ></ods-text-editor>
           <ods-text-editor
-            formControlName="targetPath"
+            [formControlName]="AggregationMappingFormService.FIELD_MAPPING_TARGET_PATH"
             label="Zielfeld"
             isRequired="true"
             placeholder="Tragen Sie hier den gesamten Pfad des Datenfeldes ein, das Sie auswerten möchten."
-- 
GitLab