-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Button TagHelper for formaction #1668
Comments
@DamianEdwards @danroth27 there seems to be some renewed interest in this (see #5034). Thoughts? |
Seems very simple to add and very useful. SOLD! Fit in 1.1? |
Marking as |
Is this design final? if so I can give it a try |
@ctyar well I'm not sure I'd call this exactly a design, it's more like some random thoughts people had 😄 But... it probably is fairly straightforward. We'd presumably want to do exactly what we do for stuff like the If you want to take a crack at it, let us know, and send a PR when you're ready. |
@Eilon yeah I found those two, I'm already on it |
@ctyar sounds great, looking forward to see the PR! Thanks! |
How can we use this new feature? It appears not to be part of any releases. |
It should be included in 1.1.0 |
Aha. It is. Thank you @DamianEdwards... it is now under |
Code can read, that is, poor expression, continue to practice |
Initial suggestion - Need to fill in more details,
Scenario
A form with multiple buttons, that needs to go do different actions based on what was clicked.
A Tag helper look like
And Generate
Similarly we can make these attributes also work on the
input
tag helper, when type issubmit
.The text was updated successfully, but these errors were encountered: