Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Validation doesn't work with input type "password" #224

Open
dotnetcsharp0x opened this issue Apr 1, 2024 · 0 comments
Open

[Bug] Validation doesn't work with input type "password" #224

dotnetcsharp0x opened this issue Apr 1, 2024 · 0 comments
Labels
Bug Something isn't working Triage Issue needs to be triaged

Comments

@dotnetcsharp0x
Copy link

dotnetcsharp0x commented Apr 1, 2024

Validation doesn't work with input type "password"
A clear and concise description of what the bug is.
If we have input type a password, then validation doesn't work. I tried change it to type "text" and everything is okay for validation. But with input type "password" the program doesn't see the data. It's null. I attached .txt file with code.
I use .NET 8

To Reproduce
Steps to reproduce the behavior:
.txt file

Expected behavior
Validation of a password.

Screenshots
Screenshot_12

Hosting Model (is this issue happening with a certain hosting model?):

  • Blazor Server

Additional context
Add any other context about the problem here.
public class LoginModel.txt

If i put
@oninput="@((ui) => {Model.Password = ui.Value.ToString();})"
into inputtext field, then everything is okay

@dotnetcsharp0x dotnetcsharp0x added Bug Something isn't working Triage Issue needs to be triaged labels Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant