[Forms module] Display "select" labels instead of values in notification mails
Created 8 years ago by jerev

What would be the correct way to show the display value of a select input, in a mail notification, forms module.

Currently we use this helper (forms_input):
https://github.com/anomalylabs/forms-module/blob/master/src/FormsModulePlugin.php#L86-L108

But this shows the value.
iow. given this option, 1: Apples, we currently see 1 and want to see Apples in the notification mail.

ryanthompson  —  8 years ago

The default behavior does not accomodate this. The input variable get's passed into the notification though so you could do some Twig-ness in there.