dotnet/aspnetcore

Include valid/invalid state in ValidationStateChangedEventArgs

Open

#13.413 aberto em 24 de ago. de 2019

Ver no GitHub
 (12 comments) (11 reactions) (0 assignees)C# (10.653 forks)batch import
Pillar: Complete Blazor Webaffected-mediumarea-blazorenhancementfeature-blazor-builtin-componentshelp wantedseverity-major

Métricas do repositório

Stars
 (37.933 stars)
Métricas de merge de PR
 (Mesclagem média 16d 9h) (258 fundiu PRs em 30d)

Description

Is your feature request related to a problem? Please describe.

I'm trying to detect when a Blazor EditForm's valid state changes so I can enable/disable a Submit button.

Describe the solution you'd like

Add an IsValid Boolean property to ValidationStateChangedEventArgs, and also add a ValidationStateChanged event to EditForm.

Additional context

Add any other context or screenshots about the feature request here.

Guia do colaborador