Radio Button Group View - Selected Item #802
Unanswered
pouchbunny
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not sure what I'm doing wrong, but I have a radio button group with bindings, however, the only one that doesn't seem to be working is Selected Item. Item changed command works fine. I have a picker with similar binding setup and it works fine.
I even had set a break point on the set of the binding, but it never fired off on the set. Though oddly enough, it broke seven times on the get, meaning, I had to press continue seven times with a break point set on the get, but that's because the Command uses that binding seven times to get that value as a reference. But the point is, the Binding fails to set it to the selected item.
I have the code behind in Selected Item Changed, but only after to try to see what was going on. The code behind shows the correct value being chosen, but the Selected Item binding continues to show up as an empty string, as if it's not sending the new item's value to the binding. I was missing the values in the radio buttons at first and the item was null, however, after placing the values into the radio buttons, the code behind shows the selected item correctly. but the binding is still empty.
I did check the SelectedIndex binding and it works fine:
I rolled back to Uranium 2.10.1, 2.10.0 and same thing. I can't roll back to 2.9.1 as it throws a hissy fit regarding InpuKit Predefined shapes (even after removing the namespace from the styles and the single line where I use it in there). I even updated Maui.Controls and Maui.Controls.Compatibility to latest versions but no luck, though I'm going to run them at 8.0.72 to fix the textfield issue, as I can work around the binding easier than fixing that problem.
Beta Was this translation helpful? Give feedback.
All reactions