Skip to content

Create server rendered forms with client validation using Blazor without a circuit #51040

Description

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Pillar: Complete Blazor WebPriority:2Work that is important, but not critical for the releasearea-blazorIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing onefeature-blazor-form-validationThis issue is related to forms validation in Blazor

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions