Add Support for Defining Labels and Values for List Options in SDC Code Editor Props Tab

Created on 23 July 2025, 3 days ago

Currently, in the Single-Directory Component (SDC) code editor, when defining props of type string or integer with a list of options (enum), the UI only allows entering values. There is no way to define labels for those values, which are necessary for providing human-readable, translatable options in the Experience Builder UI.

This issue proposes updating the Props tab in the SDC code editor so that component authors can define both a value and a label for each option. This will support the meta:enum schema format introduced in Issue #3516602, which allows labels to be defined alongside enum values.

📌 Task
Status

Active

Version

1.0

Component

Component sources

Created by

🇨🇦Canada mred9

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024