wpfui icon indicating copy to clipboard operation
wpfui copied to clipboard

PasswordBox Placeholder Not Working Properly

Open Taiizor opened this issue 1 year ago • 2 comments

Describe the bug

PasswordBox Placeholder not working properly.

To Reproduce

<ui:PasswordBox Password="Sucrose Wallpaper Engine" PlaceholderEnabled="True" PlaceholderText="Enter a password" />

Expected behavior

When PlaceholderEnabled is true, Placeholder should not appear if there is data in the Password.

Screenshots

image

OS version

Windows 11 24H2

.NET version

.NET 9

WPF-UI NuGet version

3.0.3

Additional context

No response

Taiizor avatar Apr 09 '24 00:04 Taiizor

You can set PlaceholderEnabled to false or remove PlaceholderEnabled="True" to avoid this bug; this will not affect the normal display of PlaceholderText. I am looking for a solution to fix it.

textGamex avatar Jun 03 '24 17:06 textGamex

You can set PlaceholderEnabled to false or remove PlaceholderEnabled="True" to avoid this bug; this will not affect the normal display of PlaceholderText. I am looking for a solution to fix it.

I'm already using this solution temporarily, but a permanent solution would be better (:

Taiizor avatar Jun 03 '24 17:06 Taiizor