Skip to content

BUG-1010518: Currency codes not displaying for Decimal and currency fields in details - #506

Merged
samhere06 merged 3 commits into
release/25.1from
mod/decouplers/BUG-1010518
Jul 27, 2026
Merged

BUG-1010518: Currency codes not displaying for Decimal and currency fields in details#506
samhere06 merged 3 commits into
release/25.1from
mod/decouplers/BUG-1010518

Conversation

@samhere06

Copy link
Copy Markdown
Contributor

BUG-1010518: Currency codes not displaying for Decimal and currency fields in details


_formatCurrency(field: any): string {
const { currencyISOCode = 'USD', formatter } = field.config;
let formattedValue = '';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't formattedValue be a const similar to the _formatDecimal method? format method should be able to return a fallback value, no?

@samhere06
samhere06 requested a review from vishalshrm539 July 27, 2026 05:37
return formattedValue;
}

getVisibility(config): boolean {

@vishalshrm539 vishalshrm539 Jul 27, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we make getVisibility also to start with an underscore to be consistent with others?

@samhere06
samhere06 merged commit b3893b9 into release/25.1 Jul 27, 2026
5 checks passed
@samhere06
samhere06 deleted the mod/decouplers/BUG-1010518 branch July 27, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants