Blazored / FluentValidation

A library for using FluentValidation with Blazor
https://blazored.github.io/FluentValidation/
MIT License
597 stars 85 forks source link

Implemented a new method `AddValidationResult` in FluentValidationVal… #200

Open yfranz opened 1 year ago

yfranz commented 1 year ago

Add manual ValidationResult handling to EditContext

Implemented a new method AddValidationResult in FluentValidationValidator that allows manual addition of FluentValidation's ValidationResult errors to the Blazored FluentValidation EditContext. This enables explicit control over the validation state and message display within Blazor forms, particularly useful when integrating custom validation scenarios that are not automatically managed by Blazor's data annotation validators.