@alfresco/adf-core 8.4.0-19431959127 → 8.4.0-19463853602

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22836,7 +22836,11 @@ const ADF_AMOUNT_SETTINGS = new InjectionToken('adf-amount-settings');
22836
22836
  class AmountWidgetComponent extends WidgetComponent {
22837
22837
  static { this.DEFAULT_CURRENCY = '$'; }
22838
22838
  get placeholder() {
22839
- return this.showPlaceholder ? this.field.placeholder : '';
22839
+ if (!this.showPlaceholder)
22840
+ return '';
22841
+ return this.enableDisplayBasedOnLocale
22842
+ ? this.currencyPipe.transform(this.field.placeholder, this.currency, this.currencyDisplay, this.decimalProperty, this.locale)
22843
+ : this.field.placeholder;
22840
22844
  }
22841
22845
  constructor(formService, settings, currencyPipe, translationService) {
22842
22846
  super(formService);