[Forms module] Display "select" labels instead of values in notification mailsCreated 6 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):
But this shows the value.
iow. given this option,
1: Apples, we currently see
1 and want to see
Apples in the notification mail.
The default behavior does not accomodate this. The
inputvariable get's passed into the notification though so you could do some Twig-ness in there.