I have this simple liquid template with a color property setting. On the editor the value selected is displayed when changed but when changes are saved and previewed, the value taken on the block {{ block.settings.button-color }} is always the default value.
What am I missing?
Button Color: {{ block.settings.button-color }}
{% schema %}
{
“name”: “Test”,
“target”: “section”,
“settings”: [
{ “type”: “color”, “id”: “button-color”, “label”: “Button Color”, “default”: “#000000” }
]
}
{% endschema %}