|
|
|
@ -19,12 +19,12 @@ |
|
|
|
|
<wp-edit-field *ngIf="descriptor.field!.isFormattable" |
|
|
|
|
class="wp-edit-formattable-field" |
|
|
|
|
[workPackageId]="workPackage.id" |
|
|
|
|
[isDropTarget]="true" |
|
|
|
|
[fieldName]="descriptor.name"> |
|
|
|
|
</wp-edit-field> |
|
|
|
|
<wp-edit-field *ngIf="!descriptor.field.isFormattable" |
|
|
|
|
[workPackageId]="workPackage.id" |
|
|
|
|
[fieldName]="descriptor.name" |
|
|
|
|
[isDropTarget]="true" |
|
|
|
|
[ngClass]="descriptor.field!.schema.type === 'String' ? 'wp-edit-field--text' : ''"> |
|
|
|
|
</wp-edit-field> |
|
|
|
|
</div> |
|
|
|
|