#8143 - form-field.component.html: [Bug fix] Updated check to set disabled attribute or not in the button.
This commit is contained in:
parent
b018dd42db
commit
dc197a5abc
|
@ -134,7 +134,7 @@
|
|||
</div>
|
||||
<div class="col-12 d-flex justify-content-center attach-btn">
|
||||
<button *ngIf="!form.value.value || filesToUpload" mat-button (click)="drop.showFileSelector()" type="button" class="attach-file-btn"
|
||||
[disabled]="form.value.value">
|
||||
[disabled]="!!form.value.value">
|
||||
<mat-icon class="mr-2">upload</mat-icon>
|
||||
<mat-label>{{ (form.get('data').value.label | translate)}}</mat-label>
|
||||
</button>
|
||||
|
|
Loading…
Reference in New Issue