Skip to content

Unexpected icon behavior with multiple PasswordBoxes #1148

@mizydorczyk

Description

@mizydorczyk

Describe the bug

With multiple PasswordBox controls, changing the state of one causes the state of the others to change. As in the video below.

To Reproduce

<StackPanel>
    <ui:PasswordBox Margin="5" />
    <ui:PasswordBox Margin="5" />
    <ui:PasswordBox Margin="5" />
</StackPanel>

Expected behavior

Icon should not disappear

Screenshots

wpf-ui-passwordbox-issue.mp4

OS version

Windows 11 23H2

.NET version

NET 8.0

WPF-UI NuGet version

3.0.4

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions