Salesforce-Indicators icon indicating copy to clipboard operation
Salesforce-Indicators copied to clipboard

[BUG] Do not enforce capitalization on Static Text

Open tschug opened this issue 1 year ago • 0 comments

Describe the bug From the Trailblazer Community: lower case static text?

Hello! I have added indicators to show the decade in which alumni last participated in a program. The decade is showing as static text of the form "60S", "70S", etc. I typed in the text to display as "60s" rather than "60S" and would very much like it to appear with the lower case "s" rather than an upper case "S". 

I can't tell what is causing it to be capitalised, although I can see that any lc text converts to uc text in indicators. If this is a Salesforce Indicators default, could it please be changed? (If not, can someone please suggest where else to look to try to change this?)

Additional context Indicators was trying to follow the Salesforce Lightning Design System style, but it seems we are not consistent in our own approach, and we should be open to allowing users to use Static Text however they would like.

We still must consider how we handle Field Value to determine if we are consistent with the SLDS approach.

tschug avatar Apr 04 '24 16:04 tschug