diff --git a/ng2-components/ng2-activiti-form/src/components/widgets/upload/upload.widget.ts b/ng2-components/ng2-activiti-form/src/components/widgets/upload/upload.widget.ts index 0e6e66e98c..57d355bfc6 100644 --- a/ng2-components/ng2-activiti-form/src/components/widgets/upload/upload.widget.ts +++ b/ng2-components/ng2-activiti-form/src/components/widgets/upload/upload.widget.ts @@ -43,6 +43,8 @@ export class UploadWidget extends WidgetComponent implements OnInit { this.field.value && this.field.value.length > 0) { this.hasFile = true; + let file = this.field.value[0]; + this.fileName = file.name; } }