CommunityToolkit / CommunityToolkit/Tooling-Windows-Submodule

ToolkitSampleMultipleChoiceOption broken

Open
#76 7 comments 0 reactions 0 assignees View on GitHub
bug :bug:
Dominant language
C#
Stars
56
Forks
19
Avg merge
40m
Merged PRs (30d)
1

Description

### Describe the bug

The ``ToolkitSampleMultiChoiceOption`` is unable to parse data.

The error
![image](https://user-images.githubusercontent.com/9384045/221234258-d3a7a19c-1b88-4439-94ad-6f4b635fcb97.png)

The sample choices
![image](https://user-images.githubusercontent.com/9384045/221234329-84d916de-759e-4e79-8a54-ad9908e4ed84.png)

The sample XAML
![image](https://user-images.githubusercontent.com/9384045/221234590-a05e7b52-767a-41e9-ba27-4d4c1f8978c7.png)

### Steps to reproduce

```text
Use https://github.com/Avid29/Labs-Windows/tree/marquee
```

### Expected behavior

The strings should be parsed for XAML binding

### Screenshots

_No response_

### Code Platform

- [ ] UWP
- [ ] WinAppSDK / WinUI 3
- [ ] Web Assembly (WASM)
- [ ] Android
- [ ] iOS
- [ ] MacOS
- [ ] Linux / GTK

### Windows Build Number

- [ ] Windows 10 1809 (Build 17763)
- [ ] Windows 10 1903 (Build 18362)
- [ ] Windows 10 1909 (Build 18363)
- [ ] Windows 10 2004 (Build 19041)
- [ ] Windows 10 20H2 (Build 19042)
- [ ] Windows 10 21H1 (Build 19043)
- [ ] Windows 11 21H2 (Build 22000)
- [ ] Other (specify)

### Other Windows Build number

_No response_

### App minimum and target SDK version

- [ ] Windows 10, version 1809 (Build 17763)
- [ ] Windows 10, version 1903 (Build 18362)
- [ ] Windows 10, version 1909 (Build 18363)
- [ ] Windows 10, version 2004 (Build 19041)
- [ ] Other (specify)

### Other SDK version

_No response_

### Visual Studio Version

_No response_

### Visual Studio Build Number

_No response_

### Device form factor

_No response_

### Additional context

This is breaking my PR for CommunityToolkit/Labs-Windows#275

### Help us help you

No, I'm unable to contribute a solution.

Contributor guide

Open the contributing guide

Research direction

Start by checking the Labs-Windows marquee branch referenced in the reproduction steps and locate the ToolkitSampleMultiChoiceOption implementation and its sample XAML. Reproduce the parsing failure, then verify that the sample choice strings are parsed correctly for XAML binding.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
frontend, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.