Page 1 of 1

PasswordBox.MaxLength Bug

Posted: Wed Nov 06, 2019 7:16 pm
by KenX
I believe the behavior of TextBox and PasswordBox should be similar in .NET :idea:

What I encountered in CSHTML5 is...

When TextBox.MaxLength = 0, it means no limit.

When PasswordBox.MaxLength = 0, it actually means zero (nothing can be inputted).

I almost thought something wrong in my code that disabling PasswordBox and spent a day looking for my bug :lol: