PEG_LIST icon indicating copy to clipboard operation
PEG_LIST copied to clipboard

[feat] sfpegCardCmp - Customize the label shown in the card

Open Mchaouche opened this issue 3 years ago • 3 comments

Is your feature request related to a problem? Please describe. The business team often want to customize the fields' name shown in the card cmp. For exemple: The account Name fields Label in core is 'Account Name' for all record types and that's fine for internal purpose, however, in portal (for a better End user experience), the business want to customize the label shown ex: 'Intermédiaire Name', 'Site Name'

Describe the solution you'd like Add a 'Label' param as in the SfpeglistCMP to customize the column name.

Describe alternatives you've considered NA

Additional context NA

Mchaouche avatar Nov 30 '22 18:11 Mchaouche

@Mchaouche Still a requirement ?

pegros avatar Mar 30 '23 16:03 pegros

@pegros Yes. Thanks

Mchaouche avatar May 26 '23 08:05 Mchaouche

@Mchaouche by default, the standard lightning-input-field and lightning-output-field base component do not propose such an option. It would require displaying them without label and build a HTML wrapper to inject the label while still applying all proper display options.

pegros avatar May 31 '23 07:05 pegros