I created a blueprint file named ‘project.yaml’ with the following code:
title: Project
‘@extends’:
type: default
context: blueprints://pages
form:
fields:
tabs:
type: tabs
active: 1
fields:
content:
fields:
header.renovation_package:
ordering@: 6
style: vertical
size: small
type: select
label: Πακέτο Ανακαίνισης
description: <small style="color:#cccccc;"><i><strong>NOTE:</strong> Lorem ipsum</i></small>
options:
default: -
superior: 'Superior'
executive: 'Executive'
deluxe: 'Deluxe'
…my proble is when i try to output the variables of the ‘select’ fields with twig i get the ‘key’ not the value!!!
Example, if i select the default option:
{{ header.renovation_package }}
…gives…
‘default’
…not…
‘-’
…how do i get the value instead of the key?