make word list labels and delete icons in finalized description templates disabled
This commit is contained in:
parent
846405435c
commit
10d0f1fb0e
|
@ -30,7 +30,7 @@
|
||||||
<input matInput [formControl]="form.get('data').get('options').get(''+i).get('value')">
|
<input matInput [formControl]="form.get('data').get('options').get(''+i).get('value')">
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<button mat-icon-button class="col-auto" (click)="deleteRow(i)" type="button"
|
<button mat-icon-button class="col-auto" (click)="deleteRow(i)" type="button"
|
||||||
[disabled]="this.form.disabled">
|
[disabled]="form.get('data').get('options').get(''+i).get('label').disabled || form.get('data').get('options').get(''+i).get('value').disabled">
|
||||||
<mat-icon>delete</mat-icon>
|
<mat-icon>delete</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="showDelete" class="col-auto align-self-center">
|
<div *ngIf="showDelete" class="col-auto align-self-center">
|
||||||
<button mat-icon-button type="button" class="deleteBtn" (click)="deleteCompositeField();">
|
<button mat-icon-button type="button" class="deleteBtn" (click)="deleteCompositeField();" [disabled]="form.disabled">
|
||||||
<mat-icon>delete</mat-icon>
|
<mat-icon>delete</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -9,9 +9,6 @@
|
||||||
"FieldSetEditorModel.extendedDescription",
|
"FieldSetEditorModel.extendedDescription",
|
||||||
"FieldSetEditorModel.additionalInformation",
|
"FieldSetEditorModel.additionalInformation",
|
||||||
"TextAreaFieldDataEditorModel.label",
|
"TextAreaFieldDataEditorModel.label",
|
||||||
"FreeTextFieldDataEditorModel.label",
|
|
||||||
"WordListFieldDataEditorModel.label",
|
|
||||||
"FieldDataOptionEditorModel.label",
|
|
||||||
"FieldSetEditorModel.schematics",
|
"FieldSetEditorModel.schematics",
|
||||||
"FieldSetEditorModel.export"
|
"FieldSetEditorModel.export"
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue