Blazored / FluentValidation

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

[Question]Final Field Validation with Button Click #234

Open markbrew777 opened 2 months ago

markbrew777 commented 2 months ago

I've a form and when there's a field validation error that is subsequently corrected, the validation clears when the field loses focus as expected. However if the focus is lost in conjunction with the user clicking the submit button the validation clears but the submit doesn't occur until the user clicks the button a second time. Is that expected? If so is there something I can do to get around this behavior as many of our users are not going to like having to do that? I've tried several event handlers to try as a workaround but nothing so far has worked. Any suggestions would be appreciated.