You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2024. It is now read-only.
When BindableProperty of nullable type (e.g. bool?) is databound to a property of the same type and that second property is set to null, the bindable property does not receive a change notification.
Steps to Reproduce
Run the attached project. There are 4 custom labels. The first and second have bindable properties of type bool? and double? databound to values in the viewmodel. The third and fourth have their Text property (of type string) bound to the same properties in viewmodel.
Click the "Toggle Values" button. The viewmodel's properties are set to null. The former two labels keep their value as they do not receive change notification. The latter two label's Text is cleared.
Click the "Toggle Values" button again. The viewmodel's properties are set to 'false' and 0.0. All labels display correct text as notifications are received.
Expected Behavior
On step 2. the former labels should display "null" (see line 35 in MyLabel.cs)
Actual Behavior
On step 2. the former labels do not change their text.