RED-6262, derive ids from label.

This commit is contained in:
George 2023-02-24 15:35:38 +02:00
parent 1585170783
commit 4f051469a5

View File

@ -6,7 +6,7 @@
<div *ngFor="let attr of attributes" class="iqser-input-group w-300">
<iqser-dynamic-input
[formControlName]="attr.id"
[id]="'file-attribute-' + attr.id + '-input'"
[id]="attr.label.replace(' ', '-').toLowerCase() + '-input'"
[label]="attr.label"
[type]="attr.type"
[classList]="'w-300'"