Hello everyone !
I just started to use FRED on a new page. It is awesome.
But I have a problem when creating basic button elements, setting the PAGE attribute type for some reason returns >> http://mydomainname.com/[object Object] <<.
The element’s markup looks like this : <a href="{{buttonPage}}" class="button {{ buttonClasses }}">{{ buttonText }}</a>
And the element’s option code goes like this : `{
“settings”: [
{
“name”: “buttonText”,
“label”: “Button Text”,
“type”: “text”,
“value”: “click here”
},
{
“name”: “buttonPage”,
“label”: “Linked Page”,
“type”: “page”,
“value”: {
“id”: 1,
“url”: “[[~1]]”
}
},
{
“name”: “buttonClasses”,
“label”: “Class Options”,
“type”: “select”,
“options”: {
“primary”: “Primary”,
“primary hollow”: “Primary Hollow”,
“secondary”: “Secondary”,
“secondary hollow”: “Secondary Hollow”,
“alert”: “Alert”,
“alert hollow”: “Alert Hollow”,
“warning”: “Warning”,
“warning hollow”: “Warning Hollow”
},
“value”: “primary”
},
]
}`
Any help is greatly appreciated !!