mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix readonly attribute
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<h1 mat-dialog-title>{{ title | translate }}</h1>
|
||||
<mat-dialog-content>
|
||||
<textarea [(ngModel)]="value" [attr.readonly]="!editable"></textarea>
|
||||
<textarea [(ngModel)]="value" [attr.readonly]="!editable ? true : null"></textarea>
|
||||
</mat-dialog-content>
|
||||
|
||||
<mat-dialog-actions align="end">
|
||||
|
Reference in New Issue
Block a user