Binding cannot reste a nullable property to null #16004
Labels
difficulty/tbd
Categorizes an issue for which the difficulty level needs to be defined.
kind/bug
Something isn't working
project/binding 🪢
Categorizes an issue or PR as relevant to the binding engine
triage/untriaged
Indicates an issue requires triaging or verification
Current behavior
If a
IValueConverter.ConvertBack()
returnsnull
for a binding to a nullable property (e.g.int?
) the property won't be updatedExpected behavior
Reset to
null
like on windowsHow to reproduce it (as minimally and precisely as possible)
TestBindingTypes.zip
int?
line, enter something like "15"TextBox
null
)Workaround
No response
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
No response
Affected platforms
No response
IDE
No response
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: