Skip to content

[Bug]: Cannot BindWithValidation on ComboBox.SelectedValue #3921

Open
@Nextra

Description

@Nextra

Describe the bug 🐞

The new BindWithValidation for WPF (introduced in #3874) is not able to bind to ComboBox.SelectedValue.

Instead, an Exception is thrown:

System.ArgumentException: 'Dependency property not found on Object'

Step to reproduce

  1. Clone reproduction repository
  2. Start the application

Reproduction repository

https://github.com/Nextra/ReactiveUIBindWithValidationBug

Expected behavior

BindWithValidation should work on ComboBox.SelectedValue

Screenshots 🖼️

No response

IDE

Visual Studio 2022

Operating system

No response

Version

No response

Device

No response

ReactiveUI Version

20.1.63

Additional information ℹ️

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions