Closed DamianEdwards closed 11 months ago
@surayya-MS is any chance to backport to 8.0.x this and https://github.com/dotnet/aspnetcore/issues/51429 ? cause it both for 8.0.x
@AlexKovynev, yes we are going to backport both of them.
@surayya-MS so maybe backport?:)
When using Blazor enhanced form handling on a form that contains a
<button type="submit">
element where that element also has aformaction
attribute that modifies the URL the form should POST to, e.g. to add a querystring value, the value of theformaction
attribute is ignored and the parent<form>
elementaction
is used instead. RemovingEnhance
from the form makes it behave the expected way.This was found when attempting to emulate what Razor Pages does to enable support for multiple form handlers.