keirbowden / sigcapapp

Signature Capture Samples
MIT License
9 stars 5 forks source link

Button Text not configurable #6

Closed perryhoekstra closed 6 years ago

perryhoekstra commented 6 years ago

The buttons such as Save Signature, Save and Clear are not configurable (similar to the messages) which means you cannot assign Custom Labels (multi-lingual translation).

keirbowden commented 6 years ago

These are configurable in the current version from the app exchange - if you are using the lightning app builder to add it you'll see the design attributes. If via code, the attributes are 'saveButtonLabel' and 'clearButtonLabel'.

The example action : https://github.com/keirbowden/sigcapapp/blob/master/src/aura/SigCapAction/SigCapAction.cmp defines custom text for these if you need to see an example.