[release/8.0] Fix radio button reset after submitting enhanced form#52219
[release/8.0] Fix radio button reset after submitting enhanced form#52219mkArtakMSFT merged 2 commits intodotnet:release/8.0from
Conversation
* fix radio button reset when submitting enhanced form * rename test * new fix * Update src/Components/Web.JS/test/DomSync.test.ts Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com> * Update src/Components/Web.JS/src/Rendering/DomMerging/DomSync.ts Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com> --------- Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
|
Hi @surayya-MS. Please make sure you've updated the PR description to use the Shiproom Template. Also, make sure this PR is not marked as a draft and is ready-to-merge. To learn more about how to prepare a servicing PR click here. |
|
Hi @surayya-MS. If this is not a tell-mode PR, please make sure to follow the instructions laid out in the servicing process document. |
javiercn
left a comment
There was a problem hiding this comment.
Since this is a backport. Otherwise, let me know.
|
Hi @surayya-MS. This PR was just approved to be included in the upcoming servicing release. Somebody from the @dotnet/aspnet-build team will get it merged when the branches are open. Until then, please make sure all the CI checks pass and the PR is reviewed. |
|
@surayya-MS can you please resolve these conflict, so that I can merge this tomorrow? Thanks! |
|
@surayya-MS :( |
[release 8.0] Fix radio button reset after submitting enhanced form
Manual backport of #51796
Description
This PR fixes resetting radio button checked property after submitting an enhanced form.
Workaround is to remove
data-enhanceattribute.Fixes #51429
Customer Impact
Without this change customers will have bad experience using enhanced form that contains radio button. Radio button won't get reset after submitting the form.
Regression?
[If yes, specify the version the behavior has regressed from]
Risk
This is a minor change. We have similar logic for checkbox approved #50991. There are unit and e2e tests for this change.
Verification
Packaging changes reviewed?
When servicing release/2.1
Fixes #51429