I have a Component setup using a group[] to create a looper:
{
“lineItems” : {
“type” : “group[]”,
“label” : “Line Items”,
“itemLabel” : “{{index}}. {{title}}”,
“params” : {
“title” : {
“type” : “text”,
“label” : “Content”,
“initial” : “”
},
“textColor” : {
“label” : “Colour”,
“type” : “color-pair”,
“initial” : {
“base” : “#231f20”,
“alt” : “#f05e5e”
}
},
“fontFamily” : {
“label” : “Family”,
“type” : “font-family”,
“initial” : “inherit”
},
“fontWeight” : {
“label” : “Weight”,
“type” : “font-weight”,
“initial” : “inherit”
}
}
}
}
I’ve created the looper and the the other parameters display as expected. But when call the font-family parameter
{{dc:looper:field key=‘fontFamily’}}
Instead of outputting the the selected font it outputs a string like
global-ff:99f03dc2-e0b0-4348-b741-6edc0ad1d6f1
This string changes depending on which font is chosen, but it doesn’t load the correct font.
Is this a bug or have I set something up incorrectly?