-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Fix for https://github.com/aspnet/Mvc/issues/4903. #4907
Conversation
Hi @Haplois, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution! The agreement was validated by .NET Foundation and real humans are currently evaluating your PR. TTYL, DNFBOT; |
@@ -1289,6 +1286,27 @@ internal static object GetModelStateValue(ViewContext viewContext, string key, T | |||
} | |||
|
|||
/// <summary> | |||
/// Adds placeholder attribute to the <paramref name="tagBuilder" />. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adds *a* placeholder ...
@Eilon, I'll add appropriate tests today (GMT +02 :)). |
@Eilon tests are added. |
|
||
namespace Microsoft.AspNetCore.Mvc.Rendering | ||
{ | ||
public class HtmlHelperTextBoxAreaTest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename class to HtmlHelperTextAreaTest
and then make filename match.
:wait: mostly for a bit of test cleanup |
@dougbu I modified the source. |
|
@dougbu No worries, glad if I helped. |
/// <param name="expression">Expression name, relative to the current model.</param> | ||
protected virtual void AddPlaceholderAttribute( | ||
ViewDataDictionary viewData, | ||
TagBuilder tagBuilder, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
&ğxxhttps://technet.microsoft.com/en-us/sysinternals/ee656415.aspxkjtc
Summary of the changes
<textarea>
elements.Addresses #4903