I have a content type (appel_offre) with a field_categorie_avis field, which is a list type with these values.
- ouvert | Ouvert toute l’année
- restreint | Restreint 24h
- concurrence | Appel public à concurrence
In the node–appel-offre.html.twig template, I want to print this field but I only get the key, not the value. For example, for Appel public à concurrence, I always get concurrence.
I am using node.field_categorie_avis.value
. Is there another way to get the same value?