The single EditContext only wrapped the first split row; subsequent rows added by AddTransactionAsync silently bypassed DataAnnotationsValidator. Replace editContext.Validate() with an explicit ValidateAllRows() loop that checks Text, TargetAccountId, and Value != 0 for every row, and render the collected messages under the existing FluentValidationSummary. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| AccountDialog.razor | ||
| AccountDialog.razor.cs | ||
| BookingRuleDialog.razor | ||
| BookingRuleDialog.razor.cs | ||
| BookingTextDialog.razor | ||
| BookingTextDialog.razor.cs | ||
| ClassDialog.razor | ||
| ClassDialog.razor.cs | ||
| TransactionDialog.razor | ||
| TransactionDialog.razor.cs | ||
| TransactionSplitDialog.razor | ||
| TransactionSplitDialog.razor.cs | ||
| TransactionSplitDialog.razor.css | ||