dotnet/aspnetcore
View on GitHubInclude valid/invalid state in ValidationStateChangedEventArgs
Open
#13,413 opened on Aug 24, 2019
Pillar: Complete Blazor Webaffected-mediumarea-blazorenhancementfeature-blazor-builtin-componentshelp wantedseverity-major
Repository metrics
- Stars
- (37,933 stars)
- PR merge metrics
- (Avg merge 16d 9h) (258 merged PRs in 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.