Add support for setting dynamic suffix on MetricCard (e.g., currency) #3235
Labels
Enhancement
Not necessarily a feature, but something has improved
Good first issue
Good for newcomers
Help wanted
We could use some help with this
Feature
I would like the ability to dynamically set the suffix on a MetricCard based on the resource or record being displayed. For instance, when displaying a monetary amount, the suffix should reflect the currency of the related record.
Use case:
In my current use case, we display the total amount of a Deal, and I need to append the correct currency symbol (e.g., $, €, etc.) to the value shown on the MetricCard. However, it seems there is currently no way to access the resource or record within the MetricCard to set the suffix dynamically.
Here's a proposed solution:
The text was updated successfully, but these errors were encountered: