Skip to content

Paste issue with PasswordBox and asterisk * #1250

@timokoessler

Description

@timokoessler

Describe the bug

If you paste text containing the asterisk (*) character inside a PasswordBox and click on the eye icon to view the text, the asterisk is removed. This only seems to happen when the password is pasted.

To Reproduce

Paste test* to a PasswordBox with hidden input. Click on the eye icon to show the input. The asterisk is removed from the element.

Expected behavior

The input should not be modified.

Screenshots

No response

OS version

Windows 11 23H2 22631.4169

.NET version

8.0

WPF-UI NuGet version

3.0.5

Additional context

timokoessler/2FAGuard#43

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