I try creating Windows 11 widgets. But have problems with writing templates. I need Carousel with checkboxes, it should looks like this:
"type": "Carousel",
"height": "stretch",
"rtl": false,
"pages": [
{
"type": "CarouselPage",
"id": "firstPage",
"items": [
{
"type": "Input.Toggle",
"title": "Title 1",
}],
"rtl": false
},
{
"type": "CarouselPage",
"id": "secondPage",
"items": [
{
"type": "Input.Toggle",
"title": "Title 2",
}],
"rtl": false
}
]
But I get error: [Parse] Element type "Input.Toggle" is not allowed in this context. I cannot found any useful docs for widgets, there is no Carousel control in Schema Explorer. I don`t have any ideas.
I am try use Input.Toggle inside Container - it did not help.
Input.Toggleinside the Carousel. You could use the Adaptive Card Designer to design and check your template first.