@alfresco/adf-core 8.4.0-19568221987 → 8.4.0-19568376894
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.
package/fesm2022/adf-core.mjs
CHANGED
|
@@ -22867,11 +22867,7 @@ const ADF_AMOUNT_SETTINGS = new InjectionToken('adf-amount-settings');
|
|
|
22867
22867
|
class AmountWidgetComponent extends WidgetComponent {
|
|
22868
22868
|
static { this.DEFAULT_CURRENCY = '$'; }
|
|
22869
22869
|
get placeholder() {
|
|
22870
|
-
|
|
22871
|
-
return '';
|
|
22872
|
-
return this.enableDisplayBasedOnLocale
|
|
22873
|
-
? this.currencyPipe.transform(this.field.placeholder, this.currency, this.currencyDisplay, this.decimalProperty, this.locale)
|
|
22874
|
-
: this.field.placeholder;
|
|
22870
|
+
return this.showPlaceholder ? this.field.placeholder : '';
|
|
22875
22871
|
}
|
|
22876
22872
|
constructor(formService, settings, currencyPipe, translationService) {
|
|
22877
22873
|
super(formService);
|