From d71681e7b73aafc689880dee768b73572a85547f Mon Sep 17 00:00:00 2001 From: "N. Taylor Mullen" Date: Thu, 4 Aug 2016 10:39:18 -0700 Subject: [PATCH] Addressed code review comments. --- .../InputTagHelper.cs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/InputTagHelper.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/InputTagHelper.cs index e56f0cb166..bbc0bc1abb 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/InputTagHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/InputTagHelper.cs @@ -231,16 +231,13 @@ public override void Process(TagHelperContext context, TagHelperOutput output) } /// - /// Gets an <input> elements "type" attribute value for the given . + /// Gets an <input> element's "type" attribute value based on the given + /// or . /// - /// The to inspect. + /// The to use. /// When this method returns, contains a type hint associated with the given /// . - /// An <input> elements "type" attribute value. - /// values are based off of the 's - /// . Input type hints are typically used to format an - /// <input> elements "value" attribute of a generated text box or used to determine if a text box should - /// be multi-line. + /// An <input> element's "type" attribute value. protected string GetInputType(ModelExplorer modelExplorer, out string inputTypeHint) { foreach (var hint in GetInputTypeHints(modelExplorer))