-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Conversation
d7369bd
to
4473a33
Compare
private IHtmlGenerator Generator { get; set; } | ||
|
||
/// <summary> | ||
/// An name to be validated on the current model. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Name to be validated on the current model.
Design looks fine |
761faf8
to
7d0d910
Compare
4473a33
to
de8706e
Compare
7d0d910
to
917d849
Compare
de8706e
to
108a0ba
Compare
tag: output.TagName, | ||
htmlAttributes: null); | ||
|
||
output.Merge(tagBuilder); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can't call this extension because it will overwrite the tag name. should copy attributes and the content explicitly. that'll avoid issues with subclasses that apply to different tags or whenever we update this to apply to multiple tag names.
⌚ |
917d849
to
af663a3
Compare
108a0ba
to
af0ac42
Compare
af663a3
to
88eb37e
Compare
0708aef
to
a33aa3e
Compare
Addressed code review comments. |
88eb37e
to
be195a9
Compare
a33aa3e
to
342362c
Compare
be195a9
to
0a09f0b
Compare
342362c
to
8a24434
Compare
0a09f0b
to
a73f0a5
Compare
8a24434
to
673a9ea
Compare
/// <summary> | ||
/// Name to be validated on the current model. | ||
/// </summary> | ||
[HtmlAttributeName("validation-for")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have you checked this attribute into Razor?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
si 😄
|
a73f0a5
to
4642fbf
Compare
673a9ea
to
3ff67ca
Compare
Will get in once previous PR's in the chain are in |
- Added tests to validate ValidationMessageTagHelper functionality. #1250
4642fbf
to
e494f83
Compare
3ff67ca
to
1cf6935
Compare
#1250