Skip to content

Conversation

@dougbu
Copy link
Contributor

@dougbu dougbu commented Mar 3, 2018

- #135
- see also PR aspnet/Mvc#7430
- add quirk switch to reverse this if necessary
{
Assert.Equal(
"<input class=\"text-box single-line password\" id=\"FieldPrefix\" name=\"FieldPrefix\" type=\"password\" value=\"Value\" />",
"<input class=\"text-box single-line password\" id=\"FieldPrefix\" name=\"FieldPrefix\" type=\"password\" />",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test (well, two tests in one) and the two theories using the data set below set Model and FormattedModelValue. I left similar settings in PasswordTemplate_ReturnsInputElement_IgnoresValues() due to its narrower intent.

@dougbu dougbu merged commit 2b7ac74 into master Mar 5, 2018
@dougbu
Copy link
Contributor Author

dougbu commented Mar 5, 2018

2b7ac74

@dougbu dougbu deleted the dougbu/edit.password.135 branch March 5, 2018 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants