RED-6262, add unique ids to buttons and inputs on file attribute components.
This commit is contained in:
parent
adbf6bca25
commit
b23a56affb
@ -2,6 +2,7 @@
|
||||
<div class="right-title heading" translate="file-preview.tabs.document-info.label">
|
||||
<div>
|
||||
<iqser-circle-button
|
||||
buttonId="edit-document-info-btn"
|
||||
(action)="edit(ctx.file)"
|
||||
*ngIf="permissionsService.canEditFileAttributes(ctx.file, ctx.dossier)"
|
||||
[tooltip]="'file-preview.tabs.document-info.edit' | translate"
|
||||
@ -10,6 +11,7 @@
|
||||
></iqser-circle-button>
|
||||
|
||||
<iqser-circle-button
|
||||
buttonId="close-document-info-btn"
|
||||
(action)="documentInfoService.hide()"
|
||||
[tooltip]="'file-preview.tabs.document-info.close' | translate"
|
||||
icon="iqser:close"
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<div *ngFor="let attr of attributes" class="iqser-input-group w-300">
|
||||
<iqser-dynamic-input
|
||||
[formControlName]="attr.id"
|
||||
[id]="attr.id"
|
||||
[id]="attr.label.toLowerCase().replace(' ', '-') + '-input'"
|
||||
[label]="attr.label"
|
||||
[type]="attr.type"
|
||||
[classList]="'w-300'"
|
||||
@ -16,6 +16,7 @@
|
||||
</div>
|
||||
<div class="dialog-actions">
|
||||
<iqser-icon-button
|
||||
buttonId="save-document-info-btn"
|
||||
[disabled]="disabled"
|
||||
[label]="'document-info.save' | translate"
|
||||
[submit]="true"
|
||||
@ -24,5 +25,10 @@
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<iqser-circle-button (action)="close()" class="dialog-close" icon="iqser:close"></iqser-circle-button>
|
||||
<iqser-circle-button
|
||||
buttonId="close-document-info-modal-btn"
|
||||
(action)="close()"
|
||||
class="dialog-close"
|
||||
icon="iqser:close"
|
||||
></iqser-circle-button>
|
||||
</section>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user