Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IValueConverter with x Bind has ConvertBack method with targeType always null #19121

Open
FrozDark opened this issue Dec 24, 2024 · 0 comments
Open
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

Comments

@FrozDark
Copy link

Current behavior

Second argument of type is always null when converting back to control
public object ConvertBack(object value, Type targetType, object parameter, string language)

In the repro it's first TextBox control

Expected 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

@FrozDark FrozDark added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Dec 24, 2024
@MartinZikmund MartinZikmund added 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 difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI area/xBind 🪢 Categorizes an issue or PR as relevant to x:Bind and removed triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants