-
Notifications
You must be signed in to change notification settings - Fork 1.9k
The issue with the MultiBinding converter with two way binding mode does not work properly when changing the values. #20382
Description
Description
I have a Slider and a Stepper control where the Value property (of type double) is bound using a MultiBinding Converter with TwoWay binding mode.
I also have an Entry control where the Text property is bound using the same MultiBinding Converter with TwoWay binding mode.
The TwoWay binding mode does not work correctly with the double property for Slider and Stepper.
For example, when I update the value directly through the UI, it updates the ViewModel property correctly. However, if I change the ViewModel property programmatically (e.g., through a button click), the UI does not update properly across all platforms.
For the Entry control, the two way binding works fine on all platforms.
Note : doule value property works fine in xamarin forms
Below is the demo:
Android
TwoWayBindingNotworkswithDoubleOnMultiBindingAndroid.mov
iOS
TwoWayBindingNotworkswithDoubleOnMultiBinding.mov
Steps to Reproduce
1.Obtain the updated sample here
2.Change the values in the UI the value updates, then change from button click , the value does not udpate in the UI .
3. This is the bug
Version with bug
NET 9.0 latest version
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
Android, Windows,iOS and Mac
Affected platform versions
Android 11 , Windows 10, iOS and Mac
Did you find any workaround?
No
Relevant log output
No response