dotnet/aspnetcore

Include valid/invalid state in ValidationStateChangedEventArgs

Open

#13.413 geöffnet am 24. Aug. 2019

Auf GitHub ansehen
 (12 Kommentare) (11 Reaktionen) (0 zugewiesene Personen)C# (10.653 Forks)batch import
Pillar: Complete Blazor Webaffected-mediumarea-blazorenhancementfeature-blazor-builtin-componentshelp wantedseverity-major

Repository-Metriken

Stars
 (37.933 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 16T 9h) (258 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide