IValueConverter
with x Bind has ConvertBack
method with targeType always null
#19121
Labels
area/xBind 🪢
Categorizes an issue or PR as relevant to x:Bind
difficulty/medium 🤔
Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI
kind/bug
Something isn't working
project/binding 🪢
Categorizes an issue or PR as relevant to the binding engine
project/core-tools 🛠️
Categorizes an issue or PR as relevant to core and tools
Current behavior
Second argument of type is always
null
when converting back to controlpublic object ConvertBack(object value, Type targetType, object parameter, string language)
In the repro it's first
TextBox
controlExpected behavior
Type to convert to
How to reproduce it (as minimally and precisely as possible)
UnoIssue.zip
Workaround
Consider to know the type you are intended to convert
Works on UWP/WinUI
Yes
Environment
No response
NuGet package version(s)
Uno.Sdk: 5.5.56
Affected platforms
WebAssembly, Android, iOS, Mac Catalyst, Skia (Linux X11), Skia (macOS), Skia (Linux Framebuffer), Skia (GTK)
IDE
Visual Studio 2022
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
Tested on android but I think it's related to codegeneration of xaml and affects all uno platforms
The text was updated successfully, but these errors were encountered: