-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Create server rendered forms with client validation using Blazor without a circuit #51040
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
Comments
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Thanks for contacting us. We're moving this issue to the |
Hi @danroth27, any chance this gets implemented in .NET 9? |
This feature is not currently planned for .NET 9. You can see our roadmap of what we're planning to deliver for .NET 9 here: https://aka.ms/aspnet/roadmap. If folks in the community are interested in driving this feature forward sooner, we of course welcome the contribution. |
Thank you, @danroth27. Is there any example available to implement this manually, perhaps with JavaScript? I don't really like having to switch my pure Static SSR site to Interactive SSR just to get this behavior. |
@danroth27 Will this be implemented in .NET 10? It sounds amazing and I wish I had engineering skills to contribute. |
@boirr This issue is currently in our Backlog. Issues that we're actively considering for .NET 10 are in the .NET 10 Planning milestone. Note that .NET 10 planning is still in progress, so nothing is committed yet and plans are always subject to change. If this feature is important to you, you can signal support by giving a 👍 reaction on the original issue post. |
I am commenting to start a discussion on this^ I found this on GitHub: https://git.1-hub.cnhaacked/aspnet-client-validation/ Thanks! |
Can this be linked to https://git.1-hub.cndotnet/aspnetcore/issues/28640 and worked together? |
Your link is not working. Here is the URL: |
MVC & Razor Pages support creating server rendered forms with client validation where the client validation is based on data annotations and then implemented with framework provided client-side JavaScript using unobtrusive validation.
With Blazor in .NET 8 we can now create server rendered forms that are rendered statically and support server validation based on data annotations. But if you want client validation then you need to enable server interactivity, which means creating a circuit and handling the additional server load.
This issue tracks discussing if we need a way to do client validation in Blazor without using Blazor Server or Blazor WebAssembly.
The text was updated successfully, but these errors were encountered: