dotnet / dotnet/aspnetcore

Include valid/invalid state in ValidationStateChangedEventArgs

Open
#13,413 12 comments 11 reactions 0 assignees View on GitHub
affected-medium area-blazor enhancement feature-blazor-builtin-components help wanted Pillar: Complete Blazor Web severity-major
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.