How to get the label values for list fields in Twig?

26/07/2018


I’m trying to fetch the label of the list and display it on the twig template.

Using node.field_list.value outputs the key value. I tried using node.field_list.label but it returns empty. I tried using node.field_list.title, node.field_list.0.label or node.field_list[0][‘#markup’] but it still returns empty on the twig template

قالب وردپرس