-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The style attribute of ChoiceSet does not influence the appearance of the rendered object. The expected behavior is for the choices to appear as a group of radio buttons. The current behavior shows the rendered object as a dropdown for both compact and expanded values.
Examples
From the Todoist Integration Examples Lorem Ipsum example:
const choiceSet = new ChoiceSetInput()
choiceSet.id = 'Input.Choice'
choiceSet.style = 'expanded'
choiceSet.choices = [
new Choice('1'),
new Choice('2'),
new Choice('3'),
]
choiceSet.defaultValue = '1'
card.addItem(choiceSet)From an integration I'm currently working on:
{
"type": "Input.ChoiceSet",
"id": "dayChoice",
"label": "Expires",
"style": "expanded",
"choices": [
{
"title": "Today",
"value": "today"
},
{
"title": "Tomorrow",
"value": "tomorrow"
}
]
}Metadata
Metadata
Assignees
Labels
No labels

