Timeline for Salesforce Lightning - Custom Labels with Parameters
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 18, 2017 at 22:05 | comment | added | techbusinessman | Correct. I use this function now: format: function(string) { var outerArguments = arguments; return string.replace(/\{(\d+)\}/g, function() { return outerArguments[parseInt(arguments[1]) + 1]; }); }, | |
Dec 14, 2017 at 14:04 | comment | added | Ranga |
Currently only option is to use javascript replace() function
|
|
Dec 14, 2017 at 14:03 | history | answered | Ranga | CC BY-SA 3.0 |