0

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.

3
  • You can't put Input.Toggle inside the Carousel. You could use the Adaptive Card Designer to design and check your template first. Commented Sep 29, 2023 at 3:24
  • @RoyLi-MSFT What type of elements can be placed in Carousel? Microsoft ToDo use Carousel with toggles (imgur.com/a/EyPYyhZ). How? Commented Sep 29, 2023 at 8:40
  • The image you share seems not be to a Carousel. Commented Oct 16, 2023 at 8:08

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.