Radio buttons binding in .Net MAUI: selected item is not updated in the view model #16232
Unanswered
DavidShochet
asked this question in
Q&A
Replies: 1 comment 2 replies
-
In my experience ConverterParameter can't be bound, so what your Convert() and ConvertBack() methods are actually getting are BindingObjects rather than DateTimes. Try putting a breakpoint in and see what ConverterParameter actually is. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a .Net MAUI app that uses CommunityToolkit.Mvvm.
Here is a part of my view model:
Here is a part of the page:
Here is the converter:
Though I am not sure that the converter is needed in my scenario.
The radio buttons are displayed correctly:
But the SelectedTime property in the viewmodel is not updated, and its setter is not hit. What am I missing?
Beta Was this translation helpful? Give feedback.
All reactions