From 4d068d53856a41a4324f0e846ce62eaa74ac0f1c Mon Sep 17 00:00:00 2001
From: RIHTARSIC Joze <joze.rihtarsic@ext.ec.europa.eu>
Date: Tue, 13 Jun 2023 07:52:26 +0200
Subject: [PATCH] Set max length limitation on subresource dialog

---
 .../resource-dialog/subresource-dialog.component.html         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/smp-angular/src/app/edit/edit-resources/subresource-panel/resource-dialog/subresource-dialog.component.html b/smp-angular/src/app/edit/edit-resources/subresource-panel/resource-dialog/subresource-dialog.component.html
index 7fed5cdd6..455ed360e 100644
--- a/smp-angular/src/app/edit/edit-resources/subresource-panel/resource-dialog/subresource-dialog.component.html
+++ b/smp-angular/src/app/edit/edit-resources/subresource-panel/resource-dialog/subresource-dialog.component.html
@@ -20,13 +20,13 @@
       <mat-label>Subresource identifier</mat-label>
       <input id="identifierValue_id" type="text" matInput #identifierValue
              formControlName="identifierValue"
-             required auto-focus-directive>
+             auto-focus-directive maxlength="500" required>
     </mat-form-field>
 
     <mat-form-field  style="width: 100%">
       <mat-label>Subresource scheme</mat-label>
       <input id="identifierScheme_id" type="text" matInput
-             formControlName="identifierScheme"
+             formControlName="identifierScheme" maxlength="500"
              >
     </mat-form-field>
   </form>
-- 
GitLab