-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add FormTagHelper. #1323
Add FormTagHelper. #1323
Conversation
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.
This and its only call site will go away once the method for the antiforgery piece comes in.
|
⌚ |
5ff3854 to
3b4fe50
Compare
b9fb105 to
c2d3425
Compare
|
Addressed code review comments. |
3b4fe50 to
b1918ba
Compare
c2d3425 to
ba0c37a
Compare
c908f03 to
14cf681
Compare
|
Added tests. |
14cf681 to
07f8dda
Compare
be24e23 to
c175091
Compare
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.
would be cleaner not to bind this attribute. just pass the default (FormMethod.Get.ToString()) to the generator. if the user has written this attribute, the copies will automatically leave that alone.
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.
... after offline discussion, let's not make this one different from other HTML attributes we could / do bind
e0a0206 to
199a8e2
Compare
c0b944d to
ffdae80
Compare
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.
nit: rephrase parenthetical comment. user doesn't intend to use this tag helper at all.
|
⌚ |
199a8e2 to
d3af121
Compare
ffdae80 to
4d221a1
Compare
|
Addressed code review comments. |
4d221a1 to
b275566
Compare
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.
nit: antiTagBuilder 😸
|
|
b275566 to
011447d
Compare
|
Will get in once previous PR's in the chain are in |
- Added the FormTagHelper. - Utilized the IHtmlGenerator to share base functionality with the HTMLHelper counterparts. - Added tests to validate FormTagHelper functionality. #1246
e127da2 to
b7a38c3
Compare
011447d to
3e2c256
Compare
Tag Helpers:
<form/>tag helper #1246