-
Notifications
You must be signed in to change notification settings - Fork 10.4k
[release/8.0-preview6] [Blazor] Form mapping error handling and validation integration for SSR Blazor #49031
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[release/8.0-preview6] [Blazor] Form mapping error handling and validation integration for SSR Blazor #49031
Conversation
…textValidator` into `EditContext` * Move `ModelBindingContextValidator` and `EditContextModelBindingContextExtensions` to `Microsoft.AspNetCore.Components.Web`. * Remove `FieldPath` and avoid adding it to `FieldIdentifier`. * Move `ExpressionFormatter` and `ReverseStringBuilder` to `Shared`. * Make things internal where possible.
…yValidationStateChanged on Dispose, if there were registered messages
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.
Already approved equivalent PR against main
I've merged to both this branch and the one set to target |
7316aa1
to
7038abc
Compare
Hi @github-actions[bot]. 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 @github-actions[bot]. 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. |
Backport of #48990 to release/8.0-preview6
/cc @javiercn
[Blazor] Form mapping error handling and validation integration for SSR Blazor
Adds support for error handling and validation to Server Side Rendered Blazor.
Description
Integrates the form data binding experience with Blazor and provides support for error handling.
Fixes #46983 (in this specific format)
Customer Impact
This is one of the remaining major functionalities for Blazor Server Side rendering, so we want to make sure we can get as much feedback as possible on the experience. Specially since we are planning an app building exercise.
Regression?
[If yes, specify the version the behavior has regressed from]
Risk
The changes should be additive, and we've included a significant amount of test coverage for the new functionality.
Verification
Packaging changes reviewed?
When servicing release/2.1