Blazored / FluentValidation

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

Is it possible (and how) to use validator with explicit EditContext? #211

Open papaja opened 8 months ago

papaja commented 8 months ago

Is it possible to use manually created EditContext instead of cascading parameter in validator?

If I switch from <EditForm Model=... to <EditForm EditContext=... where EditContext is declared and instantiated with new EditContext(MyModel) validator behaves funky which is kind of expected since there is no more cascading parameter EditContext.