dotnet/aspnetcore

Include valid/invalid state in ValidationStateChangedEventArgs

Open

#13.413 aperta il 24 ago 2019

Vedi su GitHub
 (12 commenti) (11 reazioni) (0 assegnatari)C# (10.653 fork)batch import
Pillar: Complete Blazor Webaffected-mediumarea-blazorenhancementfeature-blazor-builtin-componentshelp wantedseverity-major

Metriche repository

Star
 (37.933 star)
Metriche merge PR
 (Merge medio 16g 9h) (258 PR mergiate in 30 g)

Descrizione

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.

Guida contributor