blazor-validation icon indicating copy to clipboard operation
blazor-validation copied to clipboard

Validation extensions for Microsoft Blazor / FluentValidation

Results 5 blazor-validation issues
Sort by recently updated
recently updated
newest added

From what I can tell, there is no way to use RuleSets in a form. It might make sense to make it so you can set this on the Validate...

This PR updates the code to support .net 8.0 and well as updates FluentValidation to 11.8.1.

When I try to register the validators using AddFluentValidation I get an exception: ``` System.IndexOutOfRangeException HResult=0x80131508 Message=Index was outside the bounds of the array. Source=PeterLeslieMorris.Blazor.FluentValidation StackTrace: at PeterLeslieMorris.Blazor.Validation.ValidationConfigurationFluentValidationExtensions.ScanForValidators(IServiceCollection services, IEnumerable`1...

Hi Peter. I'm trying to use this library, but I have a validator for a base interface and two different implementation classes, so that my situation is something like: `public...

```csharp public class DemographicValidator : AbstractValidator { public DemographicValidator() { RuleForEach(x => x.Assignments).ChildRules(x => { x.RuleForEach(x => x.StaffHistory).ChildRules(x => { x.RuleFor(x => x.StartDate).NotEmpty().WithMessage("Start Date is required."); }); } } }...