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

Decouple HtmlHelper.GetValidationAttributes from UnobtrusiveValidationAttributesGenerator.GetValidationAttributes #659

@roryprimrose

Description

@roryprimrose

MVC should not be tightly coupled to Microsoft's implementation of unobtrusive validation. For example, I want to use bootstrapValidator because it is a much better validation framework for working with bootstrap. As it stands, HtmlHelper is tightly coupled to UnobtrusiveValidationAttributesGenerator such that a different implementation cannot be used. This locks everyone into using unobtrusive validation rather than allowing support for custom validation attribute rendering on form fields.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions