I have a frontend form with an email field, and I would like to prefill it with the user's email address. {{ dump(grav.user.email) }} gives me the address, but putting it in the form doesn't return anything. My form field definition looks like this:
formular-service:
fields:
email:
type: email
config-default@: grav.user.email
label: 'Wahlbestätigung an folgende E-Mailadresse schicken:'
validate: true
What's wrong with that? I got it from the docs?