diff --git a/ng2-components/ng2-activiti-form/src/components/widgets/display-value/display-value.widget.css b/ng2-components/ng2-activiti-form/src/components/widgets/display-value/display-value.widget.css index ad833b2f12..1fdcc3c541 100644 --- a/ng2-components/ng2-activiti-form/src/components/widgets/display-value/display-value.widget.css +++ b/ng2-components/ng2-activiti-form/src/components/widgets/display-value/display-value.widget.css @@ -9,3 +9,23 @@ .display-value-widget__dynamic-table table { width: 100%; } + +.upload-widget { + width:100%; + word-break: break-all; +} + +.upload-widget__icon { + float: left; + color: rgba(0,0,0,.26); +} + +.upload-widget__file { + float: left; + margin-top: 4px; + color: rgba(0,0,0,.26); +} + +.upload-widget__label { + color: rgba(0,0,0,.26); +} diff --git a/ng2-components/ng2-activiti-form/src/components/widgets/display-value/display-value.widget.html b/ng2-components/ng2-activiti-form/src/components/widgets/display-value/display-value.widget.html index 02d5b584aa..cbcd9b815d 100644 --- a/ng2-components/ng2-activiti-form/src/components/widgets/display-value/display-value.widget.html +++ b/ng2-components/ng2-activiti-form/src/components/widgets/display-value/display-value.widget.html @@ -29,8 +29,7 @@ - +
+
+ +
+ attachment + {{value}} +
+
+
0) { this.value = decodeURI(files[0].name); + this.hasFile = true; } else { this.value = null; + this.hasFile = false; } break; case FormFieldTypes.TYPEAHEAD: