Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 699 Bytes

File metadata and controls

40 lines (30 loc) · 699 Bytes

User Segment (string)

Snippet

Single-select User Segment, and store Segment ID as string:

{
    "title": "User Segment (string)",
    "description": "Single-select User Segment, and store Segment ID as string",
    "type": "string",
    "ui:extension": {
        "name": "ecomm-toolkit",
        "params": {
            "label": "User Segment",
            "view": "single",
            "data": "segment",
            "type": "string"
        }
    }
}

Sample content

{
    "segmentSingleSelectString": "1"
}

Sample UI

Empty field:

Sample UI

Selecting segment:

Sample UI