Skip to content

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

@danroth27

Description

@danroth27

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pillar: Complete Blazor Webarea-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