Skip to content

ColorData::$label#16492

Merged
brandonkelly merged 2 commits into5.7from
feature/color-label-property
Jan 22, 2025
Merged

ColorData::$label#16492
brandonkelly merged 2 commits into5.7from
feature/color-label-property

Conversation

@brandonkelly
Copy link
Copy Markdown
Member

Description

Adds a label property to Color field data, to expose the user-facing color labels.

{% if entry.myColorField %}
  Color: {{ entry.myColorField.label }}
{% endif %}

Related issues

@brandonkelly brandonkelly merged commit 5bb8a4c into 5.7 Jan 22, 2025
@brandonkelly brandonkelly deleted the feature/color-label-property branch January 22, 2025 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant