Pull request #406: RED-6262, derive ids from label.

Merge in RED/ui from RED-6262 to master

* commit '4f051469a589032c075acaf2aa108802367be6d7':
  RED-6262, derive ids from label.
This commit is contained in:
George Balanesc 2023-02-24 14:38:15 +01:00 committed by Dan Percic
commit f13295f0ac

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'"