Skip to content

io.select.multiple

Represents a select.multiple component. This component renders a list of checkboxes

Usage

ts
const { value } = await io.select.multiple("Events", {
  options: [
    {
      label: "Welcome Session",
      value: "welcome",
    },
    {
      label: "After Party",
      value: "after-party",
    },
    {
      label: "Dinner",
      value: "dinner",
    },
    {
      label: "Training Session",
      value: "training",
    },
  ],
  helpText: "You will receive a ticket to each event you register for",
})
python
value = await io.select.multiple(
    "Events",
    options=[
        {
            "label": "Welcome Session",
            "value": "welcome",
        },
        {
            "label": "After Party",
            "value": "after-party",
        },
        {
            "label": "Dinner",
            "value": "dinner",
        },
        {
            "label": "Training Session",
            "value": "training",
        },
    ],
    help_text="You will receive a ticket to each event you register for"
)

example of Forge app with select.multiple component