mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +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;
|
break;
|
||||||
|
case FormFieldTypes.AMOUNT:
|
||||||
|
if (this.value) {
|
||||||
|
let currency = this.field.currency || '$';
|
||||||
|
this.value = `${currency} ${this.field.value}`;
|
||||||
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
this.value = this.field.value;
|
this.value = this.field.value;
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user