Pull request #405: RED-6262, add unique ids to buttons and inputs on file attribute components.
Merge in RED/ui from RED-6262 to master * commit '174aa417688e087131b2c26bb71569ce43544a16': RED-6154, update common UI. RED-6262, use statid attr ids instead of label to generate input id. RED-6262, add unique ids to buttons and inputs on file attribute components.
This commit is contained in:
commit
006ffe664e
@ -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]="'file-attribute-' + attr.id + '-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>
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit d956c5f68d94708293e33840518d9b936b8d45e9
|
||||
Subproject commit d9a92992c3b6f4700fbbdb3662d981bfe23b979b
|
||||
Loading…
x
Reference in New Issue
Block a user