Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Commit

Permalink
Fix regression from previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaybhargavb committed Jul 16, 2015
1 parent 18519b0 commit 6210de9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/Microsoft.AspNet.Mvc.TagHelpers/InputTagHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ public class InputTagHelper : TagHelper
{ nameof(UInt32), "number" },
{ nameof(Int64), "number" },
{ nameof(UInt64), "number" },
{ nameof(Single), InputType.Text.ToString().ToLowerInvariant() },
{ nameof(Double), InputType.Text.ToString().ToLowerInvariant() },
{ nameof(Boolean), InputType.CheckBox.ToString().ToLowerInvariant() },
{ nameof(Decimal), InputType.Text.ToString().ToLowerInvariant() },
{ nameof(String), InputType.Text.ToString().ToLowerInvariant() },
{ nameof(IFormFile), "file" },
{ TemplateRenderer.IEnumerableOfIFormFileName, "file" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ public static TheoryData<string, string, string> InputTypeData
{ "datetime", null, "datetime" },
{ "datetime-local", null, "datetime-local" },
{ "DATETIME-local", null, "datetime-local" },
{ "Decimal", null, "text" },
{ "Decimal", "{0:0.00}", "text" },
{ "Double", null, "text" },
{ "Int16", null, "number" },
{ "Int32", null, "number" },
Expand Down

0 comments on commit 6210de9

Please sign in to comment.