❔ problem with ModelState
I have a Razor Page with two forms:
Two BindProperties
In
OnPostCreateTemplateAsync
, ModelState.IsValid == false
because it validates both forms, while I only want it validate the one form I submitted. How do I solve it?1 Reply
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.