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

TagHelperOutput doesn't allow multiple non-bound TagHelper attributes with identical names. #279

@NTaylorMullen

Description

@NTaylorMullen

This item adds the infrastructure needed to complete #220 and https://github.com/aspnet/Razor/issues/96.

Ultimately we should be able to have tags such as:
<input class="btn" class="btn-success" /> which generate the correct output. Today this type of tag which happens to be a TagHelper would generate:
<input class="btn-success" /> because last attribute in wins with no way for the TagHelper author to chose the other value.

To properly complete this item we need to create an attribute abstraction that has many types, one of which is a one key => many values (in addition to the default 1=>1 mapping). Other types that could be added in the future are key only, C# etc.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions