-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ToolkitSampleMultipleChoiceOption broken #76
Comments
@niels9001 I think you made changes here recently, any idea? |
@Arlodotexe @Avid29 CommunityToolkit/Labs-Windows#336 introduced changes in this space. @Avid29 We now have the NumericOption (see example in the PR above) and is more appropriate. Could you try that to see if that works? |
@niels9001 I will try it for speed, however the |
To parse strings to enum a concerting method is required. See the XAML/CS in the above file as a sample. |
RepeatBehavior is not an enum |
Yeah, my point was that you might need to convert it manually.. (from string to x). See the previous example. Might be the same for the speed stuff.. could be that it's parsed as a string, but your control asks for a double. Adding a function to convert should solve that (or using the NumericOption which is more appropriate) |
This seems related to this feature request I had added I think? CommunityToolkit/Labs-Windows#149 |
Describe the bug
The
ToolkitSampleMultiChoiceOption
is unable to parse data.The error
The sample choices
The sample XAML
Steps to reproduce
Expected behavior
The strings should be parsed for XAML binding
Screenshots
No response
Code Platform
Windows Build Number
Other Windows Build number
No response
App minimum and target SDK version
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.
The text was updated successfully, but these errors were encountered: