This repository was archived by the owner on Dec 14, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Password value: input vs editor #7418
Comments
Hi @maxtoroq. This behavior is intentional. |
@mkArtakMSFT You either didn't read or didn't understand. I know the behavior is by design. My question is, why isn't the editor helper behavior consistent? |
I indeed misunderstood you, @maxtoroq. Reopening to understand how we should move forward here. |
@dougbu, seems like a bug. How hard will it be to fix this? |
If we confirm this happens in ASP.NET Core MVC as well, it's a one-line fix. Would need a few tests of course. I also suggest we add a default display template for passwords. |
dougbu
added a commit
that referenced
this issue
Mar 2, 2018
- #7418 - add quirk switch to reverse this if necessary
dougbu
added a commit
that referenced
this issue
Mar 2, 2018
- #7418 - add quirk switch to reverse this if necessary
dougbu
added a commit
that referenced
this issue
Mar 5, 2018
- #7418 - add quirk switch to reverse this if necessary
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When you use the input helper for a password field, the value attribute is not rendered. When you use the editor helper, the value attribute is rendered. This is how it works in MVC 5, I haven't tried in Core but a quick look at the code tells me it should work the same (see DefaultEditorTemplates.PasswordTemplate.
Is there a reason for this difference?
The text was updated successfully, but these errors were encountered: