Blazored / FluentValidation

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

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

Open papaja opened 10 months ago

papaja commented 10 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.