dotnet/aspnetcore

Include valid/invalid state in ValidationStateChangedEventArgs

Open

#13,413 建立於 2019年8月24日

在 GitHub 查看
 (12 留言) (11 反應) (0 負責人)C# (10,653 fork)batch import
Pillar: Complete Blazor Webaffected-mediumarea-blazorenhancementfeature-blazor-builtin-componentshelp wantedseverity-major

倉庫指標

Star
 (37,933 star)
PR 合併指標
 (平均合併 16天 9小時) (30 天內合併 258 個 PR)

描述

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.

貢獻者指南