aspnetcore/test/Microsoft.AspNetCore.Mvc.Vi.../Rendering
Doug Bunting ecedbd5372 Allow `null` or empty `fullName` in one special case
- #6662
- users can now provide a `name` or `data-valmsg-for` attribute to avoid `ArgumentException`s
  - affects `<input>`, `<select>`, `<textarea>` elements and validation message `<div>`s
- remove `fullName` check in `DefaultHtmlGenerator.GetCurrentValues(...)` entirely

The new workaround is _not_ identical to changing `ViewData.TemplateInfo.HtmlFieldPrefix`
- does not change where expression values are found in `ModelState` or `ViewData`
- likely needs to be combined with additional workarounds i.e. for advanced use only

nits:
- clean up some excessive argument naming; add a few missing argument names
- take VS suggestions in changed classes e.g. inline a few variable declarations
- clean up some test data
2018-01-09 08:53:37 -08:00
..
DefaultTemplatesUtilities.cs Support input type "week" (#7045) 2017-11-16 16:00:15 -08:00
HtmlHelperCheckboxTest.cs Allow `null` or empty `fullName` in one special case 2018-01-09 08:53:37 -08:00
HtmlHelperDisplayExtensionsTest.cs Support input type "week" (#7045) 2017-11-16 16:00:15 -08:00
HtmlHelperDisplayNameExtensionsTest.cs
HtmlHelperDisplayTextTest.cs
HtmlHelperDropDownListExtensionsTest.cs
HtmlHelperEditorExtensionsTest.cs Seperate view and model for enum display 2016-11-30 11:13:38 -08:00
HtmlHelperFormExtensionsTest.cs
HtmlHelperFormTest.cs House Cleaning - Spelling and grammar 🚿 2017-08-30 14:58:44 -07:00
HtmlHelperHiddenTest.cs Allow `null` or empty `fullName` in one special case 2018-01-09 08:53:37 -08:00
HtmlHelperLabelExtensionsTest.cs Remove no-op behaviour for no-content `<label></label>` elements 2017-08-31 09:21:44 -07:00
HtmlHelperLinkGenerationTest.cs
HtmlHelperListBoxExtensionsTest.cs
HtmlHelperNameExtensionsTest.cs
HtmlHelperPartialExtensionsTest.cs Add missing `RenderPartial(...)` overload 2018-01-05 11:27:54 -08:00
HtmlHelperPasswordTest.cs Allow `null` or empty `fullName` in one special case 2018-01-09 08:53:37 -08:00
HtmlHelperRadioButtonExtensionsTest.cs Allow `null` or empty `fullName` in one special case 2018-01-09 08:53:37 -08:00
HtmlHelperSelectTest.cs Fixes #5198 Stops caching of Enum display values (#5185) 2016-09-07 16:00:17 -07:00
HtmlHelperTest.cs [Fixes #453] Added unit tests for Display and Value Extensions 2016-07-06 15:39:26 -07:00
HtmlHelperTextAreaExtensionsTest.cs column attribute for <textarea> is incorrect (#5049) 2016-07-20 09:22:39 -07:00
HtmlHelperTextAreaTest.cs Reduce allocations during HTML generation 2016-10-03 12:17:47 -07:00
HtmlHelperTextBoxExtensionsTest.cs Allow `null` or empty `fullName` in one special case 2018-01-09 08:53:37 -08:00
HtmlHelperTextBoxTest.cs Reduce allocations during HTML generation 2016-10-03 12:17:47 -07:00
HtmlHelperValidationMessageExtensionsTest.cs
HtmlHelperValidationSummaryTest.cs Do not generate a validation summary when `excludePropertyErrors` unless specific model has an error 2016-09-08 15:36:47 -07:00
HtmlHelperValueExtensionsTest.cs [Fixes #453] Added unit tests for Display and Value Extensions 2016-07-06 15:39:26 -07:00
HtmlHelperValueTest.cs
HtmlStringTest.cs
TagBuilderTest.cs Add methods to TagBuilder (#6287) 2017-05-19 12:23:16 -07:00
TestResources.cs
ViewContextTests.cs