PasswordBox Placeholder Not Working Properly
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
OS version
Windows 11 24H2
.NET version
.NET 9
WPF-UI NuGet version
3.0.3
Additional context
No response
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.
You can set
PlaceholderEnabledtofalseor removePlaceholderEnabled="True"to avoid this bug; this will not affect the normal display ofPlaceholderText. I am looking for a solution to fix it.
I'm already using this solution temporarily, but a permanent solution would be better (: