Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

I am using FluentValidation for validating my models.

I need to have async usage in order to achieve some field validations.

I use 

FluentValidationValidator : ComponentBase where TValidator : IValidator, new() 

as per your samples and everything works ok withiut calling any async Rule

.  

I' ve changed the call from

      var validationResult = validator.Validate(context);

      to

      var validationResult = await validator.ValidateAsync(context);


I seems works ok. 

When doing a field async validation the SfTextbox  success and error class are not changed as they should.

I changed the SfTextbox

SfTextBox ID="Code" @bind-Value="item.Code" Enabled="true" FloatLabelType="FloatLabelType.Auto" Placeholder="Tenant Code"


with

InputText @[email protected] Class="form-control"


and it works ok,.

 Success and Error classes are presented as they should.


Can you please advice 

Thank you in advance

Panikos Frangoudes