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

TagHelpers attribute targeting - part 1 #2211

Closed
wants to merge 0 commits into from
Closed

Conversation

ajaybhargavb
Copy link
Contributor

@ghost ghost added the cla-not-required label Mar 19, 2015
// IHtmlGenerator will enforce name requirements.
var metadata = For.Metadata;
var modelExplorer = For.ModelExplorer;
if (metadata == null)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seem to be more changes going on here than just the attribute targeting, whatsis?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was previous code, the diff is just misleading. Since we require the asp-for attribute to be provided there was no longer a need to check if it was provided.

@NTaylorMullen
Copy link
Contributor

solid, :shipit:

@rynowak
Copy link
Member

rynowak commented Mar 19, 2015

:shipit: from me if @NTaylorMullen is happy

/// attribute.
/// </summary>
[TargetElement("span")]
[TargetElement(Attributes = ValidationForAttributeName)]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this change in behaviour should be separate. discuss w/ @DamianEdwards as to whether we need to make this change.

@dougbu
Copy link
Member

dougbu commented Mar 19, 2015

⌚ doesn't look ready

@ajaybhargavb
Copy link
Contributor Author

Created a follow up issue #2220

@ajaybhargavb
Copy link
Contributor Author

bfdeda7

@ajaybhargavb ajaybhargavb deleted the taghelper-attribute branch March 20, 2015 23:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants