Skip to content

IDs for items of check array #86

@matyalatte

Description

@matyalatte

Currently, check_array uses an ID and concatnates its items into a string when executing commands.

{
    "command": "echo options:%flags%",
    "components": {
        "type": "check_array",
        "label": "options",
        "id": "flags"
        "items": [
            {
                "label": "flag1",
                "value": " -f1"
            },
            {
                "label": "flag2",
                "value": " -f2"
            }
        ]
    }
}

It would be great if you can set an id for each item.

{
    "command": "echo options:%flag1%%flag2%",
    "components": {
        "type": "check_array",
        "label": "options",
        "items": [
            {
                "label": "flag1",
                "value": " -f1"
                "id": "flag1"
            },
            {
                "label": "flag2",
                "value": " -f2"
                "id": "flag1"
            }
        ]
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions