Print select option value in modular page

first-time

#1

Hi everyone,

I’ve added a select field in one modular yml with some options. With the value_only: true option I managed to display the value instead of the key in admin panel. Now how can I display the same value in the frontend? Doing element.field return the key instead of the value.

Here the specific blueprint

.footer:
              type: select
              label: Footer
              label: Choose the feature
              value_only: true
              options:
                ciao: ciao
                come: Come
                stai: stai?

Here the TWIG template part

{% if feature.footer %}
  <h2>{{ feature.footer.name }}</h2>
{% endif %}

Ty for the support.