mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
#634 fix amount currency rendering for completed forms
This commit is contained in:
@@ -93,6 +93,12 @@ export class DisplayValueWidget extends WidgetComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
break;
|
||||
case FormFieldTypes.AMOUNT:
|
||||
if (this.value) {
|
||||
let currency = this.field.currency || '$';
|
||||
this.value = `${currency} ${this.field.value}`;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
this.value = this.field.value;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user